How to set, change or block timezone(systemtime) with puppeteer?
问题 OS: Windows 10 Pro x64-based PC node -v: v8.12.0 npm list puppeteer: `-- puppeteer@1.9.0 I tried this: puppeteer.launch({ env: { TZ: 'Australia/Melbourne', ...process.env } }); Dont work for me. whoer.net sees my actual systemtime. EDIT: Some information about https://github.com/nodejs/node/issues/4230 This code works well on Linux but does not work on windows. process.env.TZ = 'UTC'; console.log(new Date()); On windows i see timezone from my os. 回答1: To hide that info for all website, you