Set Browser Geolocation
browser_set_geolocationOverride browser geolocation to specified latitude, longitude, and accuracy for testing location-dependent features. Requires explicit location access acknowledgment.
Instructions
Use when a full-profile authorized test explicitly depends on a controlled latitude, longitude, and accuracy. Preconditions: acknowledgeLocationAccess: true is required and only intended coordinates may be supplied. Next: reload or exercise the location-dependent behavior. Sensitivity: the coordinates are exposed to authorized pages that have geolocation permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accuracy | No | ||
| latitude | Yes | ||
| longitude | Yes | ||
| acknowledgeLocationAccess | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |