location
Protocol bindings for all geolocation operations.
This command is deprecated and will be removed soon. Make sure you don’t use it in your automation/test scripts anymore to avoid errors.
Usage
1 | browser.location(location); |
Parameters
Param | Type | Details |
---|---|---|
location | Object | the new location |
Example
1 | it('should set geo location for device', function () { |
Returns
- <Object>: the current geo location