Sha256: 819f64fdf2d2c8f8326328ce004d981203458dc3f6c398dd0ca17a7fbdcf1cb4
Contents?: true
Size: 975 Bytes
Versions: 5
Compression:
Stored size: 975 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