No results for

Powered byAlgolia

setGeolocation(geolocation)

warning

See issue #435 for details of a known issue.

Sets the context's geolocation.

ParameterTypeDefaultDescription
geolocation
objectnull

Example

const context = browser.newContext();
context.setGeolocation({latitude: 59.95, longitude: 30.31667});