How to use the gaiatest.apps.keyboard.app.Keyboard function in gaiatest

To help you get started, we’ve selected a few gaiatest examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / system / regions / facebook.py View on Github external
def tap_submit(self):
        el = self.marionette.find_element(*self._submit_locator)
        from gaiatest.apps.keyboard.app import Keyboard
        k = Keyboard(self.marionette)
        # The keyboard can overlay the submit button on desktop b2g, so close it
        k.dismiss()
        self.marionette.find_element(*self._submit_locator).tap()
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / system / regions / facebook.py View on Github external
def tap_submit(self):
        el = self.marionette.find_element(*self._submit_locator)
        from gaiatest.apps.keyboard.app import Keyboard
        k = Keyboard(self.marionette)
        # The keyboard can overlay the submit button on desktop b2g, so close it
        k.dismiss()
        self.marionette.find_element(*self._submit_locator).tap()
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / base.py View on Github external
def keyboard(self):
        from gaiatest.apps.keyboard.app import Keyboard
        return Keyboard(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / ui_tests / regions / keyboard.py View on Github external
def tap_number_input(self):
        number_input = self.marionette.find_element(*self._number_input_locator)
        self.marionette.execute_script("arguments[0].scrollIntoView(false);", [number_input])
        number_input.tap()
        from gaiatest.apps.keyboard.app import Keyboard

        return Keyboard(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / ui_tests / regions / keyboard.py View on Github external
def tap_email_input(self):
        self.marionette.find_element(*self._email_input_locator).tap()
        from gaiatest.apps.keyboard.app import Keyboard

        return Keyboard(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / ui_tests / regions / keyboard.py View on Github external
def tap_url_input(self):
        self.marionette.find_element(*self._url_input_locator).tap()
        from gaiatest.apps.keyboard.app import Keyboard

        return Keyboard(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / ui_tests / regions / keyboard.py View on Github external
def tap_text_input(self):
        self.marionette.find_element(*self._text_input_locator).tap()
        from gaiatest.apps.keyboard.app import Keyboard

        return Keyboard(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / messages / regions / new_message.py View on Github external
def tap_recipient_section(self):
        self.marionette.find_element(*self._recipient_section_locator).tap()
        from gaiatest.apps.keyboard.app import Keyboard
        return Keyboard(self.marionette)