def wait(cls, selenium: webdriver.Remote): locator = (By.CSS_SELECTOR, '.active a[ng-href="#/logs"]') WebDriverWait(selenium, 30).until(EC.visibility_of_element_located(locator))