Ejemplo n.º 1
0
 def __init__(self, marionette, control_locator,
              element_to_tap_locator, menu_item_locator):
     InvisibleHtmlBinaryControl.__init__(self, marionette,
                                         control_locator,
                                         element_to_tap_locator)
     self.menu_item = self.marionette.find_element(
         *menu_item_locator)
Ejemplo n.º 2
0
 def _gps_checkbox(self):
     return InvisibleHtmlBinaryControl(self.marionette,
                                       self._gps_enabled_locator,
                                       self._gps_switch_locator)
Ejemplo n.º 3
0
 def _airplane_checkbox(self):
     return InvisibleHtmlBinaryControl(self.marionette,
                                       self._airplane_checkbox_locator,
                                       self._airplane_switch_locator)
Ejemplo n.º 4
0
Archivo: app.py Proyecto: pottierg/gaia
 def _checkbox(self):
     return InvisibleHtmlBinaryControl(self.marionette,
                                       self._check_box_locator,
                                       self._enable_button_locator)