Closed gitfibcucumber closed 1 year ago
@gitfibcucumber, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
I'm writing a blog article about this, but in the meantime... It doesn't work because the headless browser is not the real browser. It has a bunch of the production stuff removed so it can run marginally faster.
Recommendations:
--headless=chrome
which gives you the real production browser without the pixels paintedBeyond that, this is a Google issue and not a Selenium issue, so any changes to the headless mode would need to come from them.
Hi, @gitfibcucumber. This issue has been determined to require fixes in ChromeDriver.
You can see if the feature is passing in the Web Platform Tests.
If it is something new, please create an issue with the ChromeDriver team. Feel free to comment the issues that you raise back in this issue. Thank you.
What happened?
When using headless, it seems impossible to auto accept geo location (auto accept geo location seems to be the default in non headless)
ChromeDriver 108.0.5359.71 Chrome Version: 108.0.5359.124
With the attached code, if you comment out the line with "--headless" it works fine
How can we reproduce the issue?
Relevant log output
Operating System
Ubuntu (docker) and MaxOS
Selenium version
Java 4.7.2
What are the browser(s) and version(s) where you see this issue?
Chrome Version: 108.0.5359.124
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 108.0.5359.71
Are you using Selenium Grid?
No response