Bugzilla Automation <bugzi...@freebsd.org> has asked freebsd-chromium (Nobody)
<chrom...@freebsd.org> for maintainer-feedback:
Bug 278413: www/chromium: --headless seems to be broken
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278413



--- Description ---
During my latest upgrade, some of my Nagios monitors broke.  I am using Python
webdriver to control Chrome in headless mode through the chromedriver built as
part of www/chromium.  The error message I received was:

    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not
created: Chrome failed to start: exited normally.
  (chrome not reachable)
  (The process started from chrome location /usr/local/bin/chrome is no longer
running, so ChromeDriver is assuming that Chrome has crashed.)



Testing --headless from the command line with the following command fails to
save a screenshot and exits with the normal exit code 0.  So, in short, it
seems like --headless just doesn't work correctly anymore. 

/usr/local/bin/chrome --headless --disable-gpu --screenshot 
https://www.google.com


I first noticed with the build chromium-122.0.6261.111.
I also tried using the most recent version, chromium-123.0.6312.122.

With a little work, I reverted back to chromium-118.0.5993.88, and everything
worked as expected.  The command line generates a screenshot, and my tests
using Python webdriver pass.

Reply via email to