Emulation.setTimezoneOverrideOverrides default host system timezone with the specified one.
| Name | Type | Description |
|---|---|---|
timezoneId | string | The timezone identifier. List of supported timezones: https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt If empty, disables the override and restores default host system timezone. |
{
"id": 1,
"method": "Emulation.setTimezoneOverride",
"params": {
"timezoneId": "timezoneId-value"
}
}
{
"id": 1,
"result": {}
}
const result = await send('Emulation.setTimezoneOverride', {"timezoneId": "timezoneId-value"});
console.log(result);