Headless maintains a different profile folder structure to headful |
|||
Issue descriptionCurrently, chrome headless and chrome headful maintain a different profile structure. This compromises a powerful user scenario: 1. Open headful browser 2. Login into the websites with your credentials, do other actions to setup a nice user profile 3. Re-use the profile for tests/automation with headless chromium. Is the difference between headful/headless profile directories intentional?
,
Oct 18 2017
For the record: downstream bug in Puppeteer https://github.com/GoogleChrome/puppeteer/issues/921
,
Oct 27 2017
If you point chrome --headless to the right directory with --user-data-dir do things work? I would expect them to.
,
Oct 27 2017
As per https://github.com/GoogleChrome/puppeteer/issues/921 — no, defining user data dir does not work.
,
Oct 30 2017
Lushnikov pointed out that local storage in Headless is stored in the root user-data-dir, while non-headless stores it in the Default user profile.
So cookies are stored:
- ${usr-data-dir}/Cookies in Headless
- ${usr-data-dir}/Default/Cookies in non-headless
I'm sending a CL that will fix this.
,
Oct 30 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/17e4ef91bf7efcf9b4dfcbc4d638b276914c05ac commit 17e4ef91bf7efcf9b4dfcbc4d638b276914c05ac Author: David Vallet <dvallet@chromium.org> Date: Mon Oct 30 22:36:31 2017 Changed headless browser profile dir to use Default profile path Bug: 775703 Change-Id: Id56b1abd8355667d93a4d5b612af6e7a08a3577e Reviewed-on: https://chromium-review.googlesource.com/743144 Reviewed-by: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by: David Vallet <dvallet@chromium.org> Commit-Queue: David Vallet <dvallet@chromium.org> Cr-Commit-Position: refs/heads/master@{#512647} [modify] https://crrev.com/17e4ef91bf7efcf9b4dfcbc4d638b276914c05ac/headless/lib/browser/headless_browser_context_impl.cc
,
Nov 2 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by dvallet@chromium.org
, Oct 17 2017