'Block until the element described by the CSS selector is visible.'

def wait_until_visible(self, css_selector, timeout=10):

    from selenium.webdriver.common.by import By
    from selenium.webdriver.support import expected_conditions as ec
    self.wait_until(ec.visibility_of_element_located((By.CSS_SELECTOR, css_selector)), timeout)
