Sha256: c38672548388c19655992322955af90b2d3f5c2136d79f1025443a40e8b5ce39

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

# frozen_string_literal: true

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

module Appium
  module Core
    class Base
      module Capabilities
        # @private
        # @param [Hash] opts_caps Capabilities for Appium server. All capability keys are converted to lowerCamelCase when
        #                         this client sends capabilities to Appium server as JSON format.
        # @return [::Selenium::WebDriver::Remote::Capabilities] Return instance of Appium::Core::Base::Capabilities
        #                         inherited ::Selenium::WebDriver::Remote::Capabilities
        def self.create_capabilities(opts_caps = {})
          ::Selenium::WebDriver::Remote::Capabilities.new(opts_caps)
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
appium_lib_core-5.0.0.rc1 lib/appium_lib_core/common/base/capabilities.rb
appium_lib_core-5.0.0.beta4 lib/appium_lib_core/common/base/capabilities.rb
appium_lib_core-5.0.0.beta3 lib/appium_lib_core/common/base/capabilities.rb
appium_lib_core-5.0.0.beta2 lib/appium_lib_core/common/base/capabilities.rb
appium_lib_core-5.0.0.beta1 lib/appium_lib_core/common/base/capabilities.rb