set_geolocation
Set the geolocation for a page in an Electron app by specifying latitude and longitude, useful for automated testing of location-dependent features.
Instructions
Set or override geolocation for the page
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "set_geolocation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accuracy | No | ||
| latitude | Yes | ||
| longitude | Yes | ||
| sessionId | Yes |