You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know how you can change it.
Find folders where are saved your workers. For me is in AppData VirtualBrowser\Workers. Choose worker, what you want to run. Find a file "virtual.dat". There is all configuration for a worker. Open with some text editor. Find all "Asia/Nicosia" and change for a timezone, what you want.
Then run with playwright:
const { chromium } = require('playwright')
;(async () => {
// worker-id 需要先手动创建
const workerId = your worker id
const browser = await chromium.launchPersistentContext(
`your path to workers folder\\${workerId}`,
{
// Adjust to your path
executablePath: 'C:\\Program Files\\VirtualBrowser\\VirtualBrowser\\126.0.6478.127\\VirtualBrowser.exe',
args: [`--worker-id=${workerId}`],
headless: false,
defaultViewport: null,
}
)
const page = await browser.newPage()
await page.goto('http://browserscan.net')
await new Promise(resolve => setTimeout(resolve, 60000));
})()
It's no perfect solution, I know xD You can't run with VirtualBrowser gui, because when you click "Launch" it overwrites "virtual.dat". I haven't still figured out, how to change timezone choice in Virtual Browser code.
Hello!
I have problem, that ip based time is okay, but local time always Asia. Someone know how to fix?
The text was updated successfully, but these errors were encountered: