Exemple #1
0
 def open_legacy_other_platforms_modal(self):
     modal = Modal(self)
     self.find_element(*self._legacy_platforms_modal_link_locator).click()
     self.wait.until(lambda s: modal.displays(
         self._legacy_platforms_modal_content_locator))
     return modal
Exemple #2
0
 def open_sign_up_modal(self):
     modal = Modal(self)
     self.find_element(*self._modal_link_locator).click()
     self.wait.until(lambda s: modal.displays(self._newsletter_locator))
     return modal
Exemple #3
0
 def open_sign_up_modal(self):
     modal = Modal(self)
     self.find_element(*self._modal_link_locator).click()
     self.wait.until(lambda s: modal.displays(self._newsletter_locator))
     return modal
Exemple #4
0
 def open_other_platforms_modal(self):
     modal = Modal(self)
     self.find_element(*self._modal_link_locator).click()
     self.wait.until(lambda s: modal.displays(self._modal_content_locator))
     return modal
Exemple #5
0
 def open_firefox_account_modal(self):
     modal = Modal(self)
     self.download_button.click()
     self.wait.until(
         lambda s: modal.displays(self._account_modal_content_locator))
     return modal
Exemple #6
0
 def open_firefox_account_modal(self):
     modal = Modal(self)
     self.download_button.click()
     self.wait.until(lambda s: modal.displays(self._account_modal_content_locator))
     return modal