determining if elements are visible using selenium