Class: Appium::Core::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/appium_lib_core/common/base/bridge.rb,
lib/appium_lib_core/common/base/driver.rb,
lib/appium_lib_core/common/base/command.rb,
lib/appium_lib_core/common/device/value.rb,
lib/appium_lib_core/common/base/platform.rb,
lib/appium_lib_core/common/device/device.rb,
lib/appium_lib_core/common/device/context.rb,
lib/appium_lib_core/common/device/setting.rb,
lib/appium_lib_core/common/base/bridge/w3c.rb,
lib/appium_lib_core/common/base/screenshot.rb,
lib/appium_lib_core/common/device/keyboard.rb,
lib/appium_lib_core/common/device/keyevent.rb,
lib/appium_lib_core/common/device/app_state.rb,
lib/appium_lib_core/common/base/capabilities.rb,
lib/appium_lib_core/common/base/http_default.rb,
lib/appium_lib_core/common/device/device_lock.rb,
lib/appium_lib_core/common/device/ime_actions.rb,
lib/appium_lib_core/common/base/bridge/mjsonwp.rb,
lib/appium_lib_core/common/base/search_context.rb,
lib/appium_lib_core/common/device/screen_record.rb,
lib/appium_lib_core/common/device/touch_actions.rb,
lib/appium_lib_core/common/device/app_management.rb,
lib/appium_lib_core/common/device/battery_status.rb,
lib/appium_lib_core/common/device/file_management.rb,
lib/appium_lib_core/common/device/image_comparison.rb,
lib/appium_lib_core/common/device/clipboard_content_type.rb

Defined Under Namespace

Modules: Capabilities, Commands, Device, Http, SearchContext, TakeScreenshot Classes: Bridge, Driver

Class Method Summary collapse

Class Method Details

.platform::Selenium::WebDriver::Platform

Return ::Selenium::WebDriver::Platform module methods Read github.com/SeleniumHQ/selenium/blob/master/rb/lib/selenium/webdriver/common/platform.rb

Examples:


::Appium::Core::Base.platform.windows? #=> `true` or `false`

Returns:

  • (::Selenium::WebDriver::Platform)

27
28
29
# File 'lib/appium_lib_core/common/base/platform.rb', line 27

def self.platform
  ::Selenium::WebDriver::Platform
end