lib/selenium/webdriver/iphone/bridge.rb in selenium-webdriver-2.18.0.rc2 vs lib/selenium/webdriver/iphone/bridge.rb in selenium-webdriver-2.18.0.rc3
- old
+ new
@@ -5,11 +5,11 @@
# @api private
#
class Bridge < Remote::Bridge
- DEFAULT_URL = "http://#{Platform.localhost}:3001/hub/"
+ DEFAULT_URL = "http://#{Platform.localhost}:3001/wd/hub/"
def initialize(opts = {})
remote_opts = {
:url => opts.fetch(:url, DEFAULT_URL),
:desired_capabilities => opts.fetch(:desired_capabilities, capabilities),
@@ -25,10 +25,12 @@
end
def driver_extensions
[
DriverExtensions::TakesScreenshot,
- DriverExtensions::HasInputDevices
+ DriverExtensions::HasInputDevices,
+ DriverExtensions::HasWebStorage,
+ DriverExtensions::HasLocation
]
end
def capabilities
@capabilities ||= Remote::Capabilities.iphone
\ No newline at end of file