示例#1
0
 def wait_for_the_select_payment_page_to_be_open(self):
     Lib.wait_for_element(self, locators.SELECT_PAYMENT_PAGE,
                          By.CSS_SELECTOR)
示例#2
0
 def wait_for_the_sign_up_confirmation_page_to_be_open(self):
     Lib.wait_for_element(self, locators.SIGN_UP_CONFIRMATION_PAGE,
                          By.CSS_SELECTOR)
示例#3
0
 def wait_for_the_select_subscription_plan_page_to_be_open(self):
     Lib.wait_for_element(self, locators.SELECT_SUBSCRIPTION_PLAN_PAGE,
                          By.CSS_SELECTOR)
示例#4
0
 def wait_for_the_create_account_page_to_be_open(self):
     Lib.wait_for_element(self, locators.CREATE_ACCOUNT_PAGE,
                          By.CSS_SELECTOR)
 def cookie_banner(self):
     Lib.wait_for_element(self, locators.COOKIE_BANNER, By.CSS_SELECTOR)
     return self.driver.find_element(By.CSS_SELECTOR,
                                     locators.COOKIE_BANNER)
示例#6
0
 def wait_for_the_page_to_be_open_without_auto_playback(self):
         Lib.wait_for_element(self, locators.TILE_BACKGROUND_IMAGE, By.CSS_SELECTOR)
示例#7
0
 def wait_for_reminder_button(self):
     Lib.wait_for_element(self, locators.REMINDER_BUTTON, By.CSS_SELECTOR)
 def wait_for_sport_filter_dropdown_content(self):
     Lib.wait_for_element(self, locators.SPORTFILTER_DROPDOWN_CONTENT, By.CSS_SELECTOR)
示例#9
0
 def wait_for_favourite_button(self):
     Lib.wait_for_element(self, locators.FAVOURITE_BUTTON, By.CSS_SELECTOR)
示例#10
0
 def wait_for_favourite_list(self):
     Lib.wait_for_element(self, locators.FAVOURITE_LIST, By.CSS_SELECTOR)
示例#11
0
 def wait_for_video_type_button(self):
     Lib.wait_for_element(self, locators.VIDEO_TYPE_LIST_ELEMENT, By.CSS_SELECTOR)
示例#12
0
 def wait_for_toast_container(self):
     Lib.wait_for_element(self, locators.TOAST_CONTAINER_CONFIRMATION, By.CSS_SELECTOR)
示例#13
0
 def wait_for_slick_arrows_to_be_displayed(self):
     Lib.wait_for_element(self, locators.RAIL_NEXT_ARROW, By.CSS_SELECTOR)
 def wait_for_the_page_to_be_open(self):
     Lib.wait_for_element(self, locators.VISIBLE_PAUSE_BUTTON,
                          By.CSS_SELECTOR)
示例#15
0
 def wait_for_the_sports_dropdown(self):
     Lib.wait_for_element(self, navigation_locators.SPORTS_MENU_DROPDOWN_CONTAINER, By.CSS_SELECTOR)
 def wait_for_the_page_to_be_open(self):
     Lib.wait_for_element(self, locators.CALENDAR_SCROLLER, By.CSS_SELECTOR)
 def wait_for_the_page_to_be_open(self):
     Lib.wait_for_element(self, locators.START_WATCHING_BUTTON,
                          By.CSS_SELECTOR)
 def wait_for_the_page_to_be_open(self):
     Lib.wait_for_element(self, locators.OPEN_BROWSE, By.CSS_SELECTOR)
示例#19
0
 def wait_for_the_page_to_be_open(self):
     Lib.wait_for_element(self, locators.SPORT_PAGE_TITLE, By.CSS_SELECTOR)
 def wait_for_cookie_banner(self):
     Lib.wait_for_element(self, locators.COOKIE_BANNER, By.CSS_SELECTOR)
示例#21
0
 def wait_for_the_page_to_be_open_with_auto_playback(self):
         Lib.wait_for_element(self, playback_locators.VISIBLE_PAUSE_BUTTON, By.CSS_SELECTOR)