def open_join_firefox_modal(self): modal = ModalProtocol(self) self.find_element(*self._download_button_locator).click() self.wait.until( lambda s: modal.displays(self._join_firefox_modal_content_locator)) return modal
def open_other_platforms_modal(self): modal = ModalProtocol(self) self.find_element(*self._platforms_modal_link_locator).click() self.wait.until( lambda s: modal.displays(self._platforms_modal_content_locator)) return modal
def open_other_platforms_modal(self): modal = ModalProtocol(self) self.find_element(*self._platforms_modal_link_locator).click() self.wait.until(lambda s: modal.displays(self._platforms_modal_content_locator)) return modal