Use element.displayed? not visible