def __init__(self, testsetup, product=None): ''' Creates a new instance of the class and gets the page ready for testing ''' CrashStatsBasePage.__init__(self, testsetup) if product is None: self.selenium.get(self.base_url)
def __init__(self, testsetup, product=None): ''' Creates a new instance of the class and gets the page ready for testing ''' CrashStatsBasePage.__init__(self, testsetup) if product is None: #self.selenium.open(self.base_url) self.selenium.open('/') self.selenium.wait_for_page_to_load(self.timeout) self.selenium.window_maximize()
def __init__(self, testsetup): CrashStatsBasePage.__init__(self, testsetup) self.selenium.open('/products/') self.selenium.wait_for_page_to_load(self.timeout) self.selenium.window_maximize()
def __init__(self, testsetup): CrashStatsBasePage.__init__(self, testsetup) self.wait_for_element_present(self._page_header)
def __init__(self, testsetup): ''' Creates a new instance of the class and gets the page ready for testing ''' CrashStatsBasePage.__init__(self, testsetup) self.wait_for_element_present(self._product_multiple_select)
def __init__(self, testsetup, index, signature=None): CrashStatsBasePage.__init__(self, testsetup) self.index = index self._signature = signature
def __init__(self, testsetup): CrashStatsBasePage.__init__(self, testsetup) self._reports = [self.set_report(count) for count in range(1, self.reports_count)]
def __init__(self, testsetup, lookup): CrashStatsBasePage.__init__(self, testsetup) self.lookup = lookup
def __init__(self, testsetup): CrashStatsBasePage.__init__(self, testsetup) self.selenium.get(self.base_url + '/products/')
def __init__(self, testsetup, element): CrashStatsBasePage.__init__(self, testsetup) self._root_element = element