Skip to main content

ClearLocation

Description

Use this command to reset the device’s location services after you execute SetLocation.

Usage

info

Replace <server> with the appropriate URL.

Example

ClearLocation

DesiredCapabilities dc = new DesiredCapabilities();
driver = new AndroidDriver(new URL("<server>"), dc);
seetest = new SeeTestClient(driver);
dc.setCapability(MobileCapabilityType.UDID, "<deviceid>");

...
...
//this command will clear the location
seetest.clearLocation