changed back to wait_for_element_displayed()