Better version of isElementVisible (fix for google pw confirmation page)