Closed teawinzero closed 7 months ago
I can assume the problem is in the shared folder when starting the process
This can be solved using the --user-data-dir=
argument.
Note: Files with a total size of ~60MB are created in the specified folder. Which will need to be cleaned later if this is not a permanent profile.
chromeArguments.push(`--user-data-dir=${userDataDir}`);
userDataDir = await fs.promises.mkdtemp(path.join(os.tmpdir(), `playwright_${this._name}dev_profile-`));
Wow! This has been a consistent issue we've been facing forever. This definitely looks to be it. Would you be willing to PR this or should I?
Should just be a Deno.makeTempDir
+ passing this argument.
I'll open a PR
@teawinzero could you merge this into main?
@lowlighter we're getting pretty consistent issues with booting the binary recently on windows. Any ideas on why that might be happening?