Emulation.setScriptExecutionDisabledSwitches script execution in the page.
| Name | Type | Description |
|---|---|---|
value | boolean | Whether script execution should be disabled in the page. |
{
"id": 1,
"method": "Emulation.setScriptExecutionDisabled",
"params": {
"value": "example-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Emulation.setScriptExecutionDisabled', {"value": "example-value"});
console.log(result);