mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
23 lines
780 B
Markdown
23 lines
780 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
||
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [emulateTimezone](./puppeteer.page.emulatetimezone.md)
|
||
|
||
## Page.emulateTimezone() method
|
||
|
||
<b>Signature:</b>
|
||
|
||
```typescript
|
||
emulateTimezone(timezoneId?: string): Promise<void>;
|
||
```
|
||
|
||
## Parameters
|
||
|
||
| Parameter | Type | Description |
|
||
| --- | --- | --- |
|
||
| timezoneId | string | 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 <code>null</code> disables timezone emulation. |
|
||
|
||
<b>Returns:</b>
|
||
|
||
Promise<void>
|
||
|