def __init__(self, testsetup, app_name=False): Base.__init__(self, testsetup) Sorter.__init__(self, testsetup) if app_name: self._page_title = '%s | Firefox Marketplace' % app_name self.app_name = app_name else: self._page_title = 'Search Results | Firefox Marketplace'
def __init__(self, testsetup, app_name=False): Base.__init__(self, testsetup) Sorter.__init__(self, testsetup) if app_name: self._page_title = '%s | Firefox Marketplace' % app_name self.app_name = app_name else: self._page_title = 'Search Results | Firefox Marketplace' self.wait_for_element_present(*self._search_results_section_locator)
def __init__(self, testsetup, app_name=None): Base.__init__(self, testsetup) Sorter.__init__(self, testsetup) self.app_name = app_name
def __init__(self, testsetup, search_term=False): Base.__init__(self, testsetup) Sorter.__init__(self, testsetup) if search_term and search_term is not "": self._page_title = "%s | %s" % (search_term, self._page_title)
def __init__(self, testsetup): Base.__init__(self, testsetup) Sorter.__init__(self, testsetup) self.wait_for_element_present(*self._sorter_header_locator)