

def setUp(self):
    super(LazyLoadedTabsTests, self).setUp()
    wait = self.ui.WebDriverWait(self.selenium, 120)
    self.get_element = self.selenium.find_element_by_css_selector
    self.get_elements = self.selenium.find_elements_by_css_selector
    self.log_in()
    self.selenium.get('{0}/dogs/tabs'.format(self.live_server_url))
    self.get_element('a[data-target="#{0}"]'.format(wait.tab_id)).click()

    def lazy_tab_loaded(driver):
        return driver.find_element_by_css_selector(self.table_selector)
    wait.until(lazy_tab_loaded)

dataset/ETHPy150Open openstack/horizon/horizon/test/tests/selenium_tests.py LazyLoadedTabsTests.setUp/VarMisuse@86/127 `self`->`wait`