public class RemoteLocationContext extends java.lang.Object implements LocationContext
Constructor and Description |
---|
RemoteLocationContext(ExecuteMethod executeMethod) |
Modifier and Type | Method and Description |
---|---|
Location |
location()
Gets the physical location of the browser.
|
void |
setLocation(Location location)
Sets the physical location.
|
public RemoteLocationContext(ExecuteMethod executeMethod)
public Location location()
LocationContext
location
in interface LocationContext
Location
containing the location information. Returns null if the location is
not availablepublic void setLocation(Location location)
LocationContext
setLocation
in interface LocationContext
location
- A Location
containing the new location information