Emulation.setFocusEmulationEnabledEnables or disables simulating a focused and active page.
| Name | Type | Description |
|---|---|---|
enabled | boolean | Whether to enable to disable focus emulation. |
{
"id": 1,
"method": "Emulation.setFocusEmulationEnabled",
"params": {
"enabled": true
}
}
{
"id": 1,
"result": {}
}
const result = await send('Emulation.setFocusEmulationEnabled', {"enabled": true});
console.log(result);