Sha256: cbc903dcebdf8e2da3811691bde5267c52347622e2c351143fc78cad25e72661
Contents?: true
Size: 901 Bytes
Versions: 28
Compression:
Stored size: 901 Bytes
Contents
# Mobile Command Appium has `mobile:` command. We can invoke them via `execute_script` command with `mobile:` arguments. - Android: - https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android - iOS: - https://github.com/appium/appium/tree/master/docs/en/writing-running-appium/ios ```ruby # Android shell : https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/android-shell.md args = { command: 'echo', args: 'list' } @driver.execute_script 'mobile: shell', args # Run `adb shell echo 'list'` # iOS performance : https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/ios/ios-xctest-performance.md args = { timeout: 60 * 1000, profileName: 'Activity Monitor' } @driver.execute_script 'mobile: startPerfRecord', args @driver.execute_script 'mobile: stopPerfRecord', { profileName: 'Activity Monitor' } ```
Version data entries
28 entries across 28 versions & 1 rubygems