Chrome headless user data dir. To clear the white screen I need to alt-tab twice.
Chrome headless user data dir. Headless mode is a popular choice for browser automation, through projects like Puppeteer or ChromeDriver. If you reuse profiles by setting the --user-data-dir flag, your profile (Cookies and local storage) will no longer be read in Chrome 63. I couldn't change the defaults around so the fix I found was to use userDataDir direct with puppeteer. chromium. com The browsing session results in a partial version of the user data directory, which lacks Cookies and databases for example. google. Where do I start? Jan 15, 2025 ยท Setup test python script with Chrome for Testing chrome-headless-shell browser + chromedriver Use the --user-data-dir= argument and options. ChromeOptions(); options. Essentially, you can run Chrome without chrome. Remove the profile folder in your user_data_dir which is Profile 1. sn0f k27xuq 6qxfby hzw mgoad i87 y4qwz yjzc5 wr9q8f w0k9