Checks if the specified app is installed. If the specified app is installed, the verify point is considered: Passed; otherwise the test result is: Failed.
app package name
Executes a native mobile command.
Reference: http://appium.io/docs/en/commands/mobile-command/.
Security: https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/security.md
command name
JSON serializable argument
Gets a list of all available contexts
Retrieves the current context
Gets the WebDriver browser.
Gets device screen size
Hides the device keyboard
(Optional) desired strategy to close keyboard (‘tapOutside’ or ‘pressKey’ or ‘gTapOut’). ‘gTapOut’ only support for IOS
(Optional) desired key to use with strategy "pressKey"
Runs the given function when testing on Android.
Note: When using the capabilities option, your option must be declared in the gondola config file for it to work.
capabilities use to filter
Runs the given function when testing on iOS.
Note: if you're using Appium's Desired Capabilities, you must have the options set in ```gondola.json`` under the helpers->Appium->desiredCapabilities section.
capabilities use to filter
callback function will be executed
Sends a key event to the device.
Device specific key value
List of keys: https://developer.android.com/reference/android/view/KeyEvent.html LIMITATION: only supports Android
Selects a scroll picker item or items.
Supported Android controls:
- android.widget.DatePicker
- android.widget.NumberPicker
Supported iOS controls:
- XCUIElementTypeDatePicker
- XCUIElementTypePickerWheel
Performs a swipe on an element.
located by accessible id, xpath,... ILocator
time in seconds to swipe, default value is 1s.
Performs a swipe on the screen.
time in seconds to swipe, default value is 1s.
Switches to the specified context.
Taps on a mobile element.
located by accessible id, xpath,... ILocator
Set of Appium extended actions supported by Gondola