New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup or change browser timezone #3325
Comments
You can override the timezone in chromium by setting the TZ env var. One way to do this is via
|
Thanks @DuBistKomisch I'll try that |
It's not working for me. |
In case anyone else coming across this also has the follow-up question:
It's the list of tz database timezone names. |
It's not working for me too. |
It's not working for me too. |
still working for me... post some details if you expect any help |
Does anyone know a way to change the timezone on the fly? |
@crobinson42 I don't think it's possible to change the env var without restarting the process, the only way to change it dynamically would be to change the actual system timezone and not use an env var at all. |
SolutionThis was added in the above mentioned PR:
|
Steps to reproduce
Tell us about your environment:
I need to use Puppeteer with different timezones for testing purposes. Would it be possible to set the browser default timezone?
The text was updated successfully, but these errors were encountered: