Method: Selenium::WebDriver::Remote::OSS::Bridge#location

Defined in:
lib/selenium/webdriver/remote/oss/bridge.rb

#locationObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



244
245
246
247
# File 'lib/selenium/webdriver/remote/oss/bridge.rb', line 244

def location
  obj = execute(:get_location) || {}
  Location.new obj['latitude'], obj['longitude'], obj['altitude']
end