Emulation.setGeolocationOverride

Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.

{
  "name": "setGeolocationOverride",
  "description": "Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.",
  "experimental": true,
  "parameters": [
    {
      "name": "latitude",
      "type": "number",
      "optional": true,
      "description": "Mock latitude"
    },
    {
      "name": "longitude",
      "type": "number",
      "optional": true,
      "description": "Mock longitude"
    },
    {
      "name": "accuracy",
      "type": "number",
      "optional": true,
      "description": "Mock accuracy"
    }
  ]
}