def tap_artists_tab(self): self.wait_for_element_displayed(*self._artists_tab_locator) self.marionette.find_element(*self._artists_tab_locator).tap() return ListView(self.marionette)
def tap_artists_tab(self): element = Wait(self.marionette).until( expected.element_present(*self._artists_tab_locator)) Wait(self.marionette).until(expected.element_displayed(element)) element.tap() return ListView(self.marionette)
def a11y_click_albums_tab(self): element = Wait(self.marionette).until( expected.element_present(*self._albums_tab_locator)) Wait(self.marionette).until(expected.element_displayed(element)) self.accessibility.click(element) return ListView(self.marionette)