lib/appium_lib/android/common/command/command.rb
# Conduct an adb shell script on Appium server.
# Require `--relaxed-security` arguments when run Appium server as server side arguments.
#
# @param [String] command Command for "adb shell"
# @param [Array] arguments Arguments for the adb command
#
# @example
#
#   shell "echo", "list" #=> "list"
#
Conduct an adb shell script on Appium server.
Require `--relaxed-security` arguments when run Appium server as server side arguments.
Conduct an adb shell script on Appium server . Require ` -- relaxed - security ` arguments when run Appium server as server side arguments .
def shell(command, arguments)
        args = { command: command, args: arguments }
        @driver.execute_script 'mobile: shell', args
      end
def shell ( command , arguments ) args = { command : command , args : arguments } @driver . execute_script 'mobile: shell' , args end
Conduct an adb shell script on Appium server.
Conduct an adb shell script on Appium server .
# --relaxed-security
command
<not_specific>
arguments
<not_specific>
<not_specific>
arguments Arguments for the adb command
arguments Arguments for the adb command
example
None