headless:true with custom user profile = logged out
See original GitHub issueSame situation as #921
Puppeteer 3.1.0 with Chrome beta v84.
const browser = await puppeteer.launch({
headless: true,
executablePath: 'C:\\Program Files (x86)\\Google\\Chrome Beta\\Application\\chrome.exe', // other browser
args: [
'--user-data-dir=C:\\Users\\xxxxxx\\AppData\\Local\\Google\\Chrome Beta\\User Data',
'--profile-directory=Default',
]
});
Changing back to headless: false and I can login. Using true, I am now logged out. How to use headless true and reuse the profile and current cookies?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:9
- Comments:5
Top Results From Across the Web
System administrator gets logged out when they use 'Login as ...
Click on Setup. In the Quick Find box, enter Security Controls; Click on Session Settings under Security Controls. Deselect Force relogin after ...
Read more >Customize the default user profile by using CopyProfile
Describes how to use CopyProfile to create a custom default user profile for a Windows image.
Read more >puppeteer google login - MetamorfosiWeb
It can also be configured to use full (non-headless) Chrome or Chromium. ... Transcript:A short tutorial on how to log into a google...
Read more >User Profiles - Auth0
Account linking. Users can log into an application initially using one connection (such as a custom database), then later log in using a...
Read more >Delete, switch, or add users - Android Help - Google Support
Each user profile has a personal space on the device for custom Home screens, accounts, apps, settings, and more. Learn about what users...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hello,
Bug is still present with latest release (puppeteer@5.2.1).
Up, Many people seem to be facing the same issue: https://github.com/puppeteer/puppeteer/issues/921
At the moment it’s not possible to reuse
user-data-dircontent for both headless and headfull