Method: Appium::Core::Base::Driver#install_app
- Defined in:
- lib/appium_lib_core/common/base/driver.rb
#install_app(path, **options) ⇒ Object
Install the given app onto the device. Each options can be snake-case or camel-case. Snake-cases will be converted to camel-case as options value.
Other parameters such as github.com/appium/appium-xcuitest-driver#mobile-installapp also can be set. Then, arguments in snake case will be camel case as its request parameters.
651 652 653 654 655 |
# File 'lib/appium_lib_core/common/base/driver.rb', line 651 def install_app(path, **) # TODO: use mobile command in the background? = .transform_keys { |key| key.to_s.gsub(/_./) { |v| v[1].upcase } } unless .nil? @bridge.install_app(path, ) end |