Sha256: 79d6322a4a2d3cceb3dfa95c2bc9a3eba9bf6838dbdb5b4ac422a6054e139b8e
Contents?: true
Size: 992 Bytes
Versions: 5
Compression:
Stored size: 992 Bytes
Contents
module Selenium module WebDriver module Android class Bridge < Remote::Bridge DEFAULT_URL = "http://#{Platform.localhost}:8080/hub" def initialize(opts = nil) if opts super else super( :url => DEFAULT_URL, :desired_capabilities => capabilities ) end end def browser :android end def driver_extensions [ DriverExtensions::TakesScreenshot, DriverExtensions::Rotatable ] end def setScreenOrientation(orientation) execute :setScreenOrientation, {}, :orientation => orientation end def getScreenOrientation execute :getScreenOrientation end def capabilities @capabilities ||= Remote::Capabilities.android end end # Bridge end # Android end # WebDriver end # Selenium
Version data entries
5 entries across 5 versions & 1 rubygems