...and when using a regular "headed" mode of Chrome, we get a new Google sign-in:
Could be related to the user agent that is sent in headless mode. You could try overriding it via the --user-agent flag.
--
You received this message because you are subscribed to the Google Groups "headless-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to headless-dev...@chromium.org.
To post to this group, send email to headle...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/headless-dev/07d6133d-8ca1-45cd-97c8-401629faa6c7%40chromium.org.
Below user-agent worked for me!!
options.addArguments("user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36");
To get your browser specific user agent go to https://www.whatismybrowser.com/detect/what-is-my-user-agent
Thanks