Skip to content
Discussion options

You must be logged in to vote

Try using something like this:

await tab.send(cdp.emulation.set_timezone_override(timezone_id="UTC"))

From CDP documentation, timezone_id is:
The timezone identifier. If empty, disables the override and restores default host system timezone.

You can find a list of all TZ Identifier here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by juanfrilla
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants