Emulation.setAutoDarkModeOverrideAutomatically render all web contents using a dark theme.
| Name | Type | Description |
|---|---|---|
enabled (optional) | boolean | Whether to enable or disable automatic dark mode. If not specified, any existing override will be cleared. |
{
"id": 1,
"method": "Emulation.setAutoDarkModeOverride"
}
{
"id": 1,
"result": {}
}
const result = await send('Emulation.setAutoDarkModeOverride');
console.log(result);