class Page {
abstract emulateTimezone(timezoneId?: string): Promise<void>;
}
Parameter | Type | Description |
---|---|---|
timezoneId | string | _(Optional)_ Changes the timezone of the page. See [ICU’s metaZones.txt](https://source.chromium.org/chromium/chromium/deps/icu.git/+/faee8bc70570192d82d2978a71e2a615788597d1:source/data/misc/metaZones.txt) for a list of supported timezone IDs. Passing `null` disables timezone emulation. |
Returns:
Promise<void>