Module: Appium::Core::Base::Capabilities

Defined in:
lib/appium_lib_core/common/base/capabilities.rb

Class Method Summary collapse

Class Method Details

.create_capabilities(opts_caps = {}) ⇒ ::Selenium::WebDriver::Remote::W3C::Capabilities

Return instance of Appium::Core::Base::Capabilities inherited ::Selenium::WebDriver::Remote::W3C::Capabilities

Parameters:

  • opts_caps (Hash) (defaults to: {})

    Capabilities for Appium server. All capability keys are converted to lowerCamelCase when this client sends capabilities to Appium server as JSON format.

Returns:

  • (::Selenium::WebDriver::Remote::W3C::Capabilities)

    Return instance of Appium::Core::Base::Capabilities inherited ::Selenium::WebDriver::Remote::W3C::Capabilities


24
25
26
# File 'lib/appium_lib_core/common/base/capabilities.rb', line 24

def self.create_capabilities(opts_caps = {})
  ::Selenium::WebDriver::Remote::W3C::Capabilities.new(opts_caps)
end