← Back to Emulation domain

Emulation.setAutomationOverride

Allows overriding the automation flag.

Domain: Emulation experimental

Parameters

NameTypeDescription
enabledbooleanWhether the override should be enabled.

Example Request

{
  "id": 1,
  "method": "Emulation.setAutomationOverride",
  "params": {
    "enabled": true
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Emulation.setAutomationOverride', {"enabled": true});
console.log(result);