Package org.openqa.selenium.remote.html5
Class RemoteLocationContext
- java.lang.Object
-
- org.openqa.selenium.remote.html5.RemoteLocationContext
-
- All Implemented Interfaces:
LocationContext
public class RemoteLocationContext extends java.lang.Object implements LocationContext
-
-
Constructor Summary
Constructors Constructor Description RemoteLocationContext(ExecuteMethod executeMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
location()
Gets the physical location of the browser.void
setLocation(Location location)
Sets the physical location.
-
-
-
Constructor Detail
-
RemoteLocationContext
public RemoteLocationContext(ExecuteMethod executeMethod)
-
-
Method Detail
-
location
public Location location()
Description copied from interface:LocationContext
Gets the physical location of the browser.- Specified by:
location
in interfaceLocationContext
- Returns:
- A
Location
containing the location information. Returns null if the location is not available
-
setLocation
public void setLocation(Location location)
Description copied from interface:LocationContext
Sets the physical location.- Specified by:
setLocation
in interfaceLocationContext
- Parameters:
location
- ALocation
containing the new location information
-
-