--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/0e5c3c96-16da-4f86-a721-70cea0646519n%40chromium.org.
Corey,> Is there any use to keeping the user data directory around for reuse?Chrome stores a lot of things in the user data directory, however, your use case does not need any of that since you used old headless before and it does not persist any data. Specifying a temporary directory with --user-data-dir switch is a very common practice in test automation.Best,/PeterOn Mon, Aug 26, 2024 at 2:34 PM Corey Gilmore <coreym...@gmail.com> wrote:Hello,Thank you for the help. I saw in past notes that --headless was changing, but didn't realize the change went into effect with v128. The v128 notes didn't say anything about --headless [1, 2] so I was at a loss.I implemented the --user-data-dir switch and I can now get Chrome to run multiple headless instances.Per your notes, "the user data directory...cannot be shared", so is the best way to handle running multiple instances by providing a randomized path to ---user-data-dir and then deleting that directory after use? Is there any use to keeping the user data directory around for reuse?On Mon, Aug 26, 2024 at 4:14 PM Peter Kvitek <kvi...@google.com> wrote:v128 changed --headless switch default to 'new', so you're running the new headless which is actual Chrome running with no visible UI vs old headless which is an alternate browser implementation.Since the new headless is real Chrome it will try to re-use the same user data directory as the regular Chrome and those cannot be shared between Chrome instances. You can work around it by specifying different user data dirs explicitly using --user-data-dir switch.You can still run old headless using --headess=old switch. However, be advised that old headless will be removed from Chrome binary soon.Best,/Peter
--
v128 changed --headless switch default to 'new', so you're running the new headless which is actual Chrome running with no visible UI vs old headless which is an alternate browser implementation.Since the new headless is real Chrome it will try to re-use the same user data directory as the regular Chrome and those cannot be shared between Chrome instances. You can work around it by specifying different user data dirs explicitly using --user-data-dir switch.You can still run old headless using --headess=old switch. However, be advised that old headless will be removed from Chrome binary soon.Best,/Peter
On Mon, Aug 26, 2024 at 12:31 PM CG <coreym...@gmail.com> wrote:
--
--
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/10c7f1c2-1523-4a97-954c-d7aa5e0556ecn%40chromium.org.