Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def launch(self, airplane_mode=False):
Base.launch(self)
power = Wait(self.marionette).until(
expected.element_present(*self._power_button_locator))
if not airplane_mode:
Wait(self.marionette).until(lambda m: power.get_attribute('data-enabled') == 'true')
def launch(self):
Base.launch(self)
# empty message is only displayed after first MonthsDay#render,
# so we are sure app is "ready" after that
Wait(self.marionette).until(expected.element_displayed(
Wait(self.marionette).until(expected.element_present(
*self._event_list_empty_locator))))
def launch(self):
Base.launch(self)
Wait(self.marionette).until(expected.element_displayed(
Wait(self.marionette).until(expected.element_present(
*self._section_languages_locator))))
def launch(self):
Base.launch(self)
Wait(self.marionette).until(expected.element_displayed(
Wait(self.marionette).until(expected.element_present(
*self._visible_clock_locator))))
Wait(self.marionette).until(expected.element_displayed(
Wait(self.marionette).until(expected.element_present(
*self._alarm_create_new_locator))))
def launch(self):
Base.launch(self)
def launch(self):
Base.launch(self)
self.wait_for_capture_ready()
self.wait_for_element_not_displayed(*self._loading_screen_locator)
def launch(self):
Base.launch(self)
self.wait_for_element_present(*self._main_frame_locator)
def launch(self):
Base.launch(self, launch_timeout=120000)
self.wait_for_element_displayed(*self._pub_app_msg_to_send_locator)