Module: Appium::Core::Base::Device::ExecuteDriver
- Defined in:
- lib/appium_lib_core/common/device/execute_driver.rb
Defined Under Namespace
Classes: Result
Instance Method Summary collapse
Instance Method Details
#execute_driver(script: '', type: 'webdriverio', timeout_ms: nil) ⇒ Object
29 30 31 32 33 34 35 36 |
# File 'lib/appium_lib_core/common/device/execute_driver.rb', line 29 def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil) option = { script: script, type: type } option[:timeout] = timeout_ms if timeout_ms response = execute :execute_driver, {}, option Result.new(response) end |