Sha256: 9c90504488d4abc14ae685f8b9ed93a6c05e221b930781838c8ce01aa758a50e

Contents?: true

Size: 1.03 KB

Versions: 7

Compression:

Stored size: 1.03 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
      # Return ::Selenium::WebDriver::Platform module methods
      # Read https://github.com/SeleniumHQ/selenium/blob/master/rb/lib/selenium/webdriver/common/platform.rb
      #
      # @return [::Selenium::WebDriver::Platform]
      #
      # @example
      #
      #   ::Appium::Core::Base.platform.windows? #=> `true` or `false`
      #
      def self.platform
        ::Selenium::WebDriver::Platform
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
appium_lib_core-3.2.0 lib/appium_lib_core/common/base/platform.rb
appium_lib_core-3.1.3 lib/appium_lib_core/common/base/platform.rb
appium_lib_core-3.1.2 lib/appium_lib_core/common/base/platform.rb
appium_lib_core-3.1.1 lib/appium_lib_core/common/base/platform.rb
appium_lib_core-3.1.0 lib/appium_lib_core/common/base/platform.rb
appium_lib_core-3.0.4 lib/appium_lib_core/common/base/platform.rb
appium_lib_core-3.0.3 lib/appium_lib_core/common/base/platform.rb