Method: Appium::Android::Command#shell
- Defined in:
- lib/appium_lib/android/common/command/command.rb
#shell(command, arguments) ⇒ Object
Conduct an adb shell script on Appium server. Require ‘–relaxed-security` arguments when run Appium server as server side arguments.
28 29 30 31 32 |
# File 'lib/appium_lib/android/common/command/command.rb', line 28 def shell(command, arguments) args = { command: command, args: arguments } # --relaxed-security @driver.execute_script 'mobile: shell', args end |