-
Problem report
-
Resolution: Commercial support required
-
Trivial
-
None
-
7.0.1
-
None
-
RHEL 9
Selenium server 4.21
Google Chrome 126.0.6478.126
CHromeDriver 126.0.6478.126
Steps to reproduce:
- Configure browser item with default script.
Result:
Cannot execute script: Error: cannot open webriver session: Could not start a new session. Error while creating session with the driver service. Stopping driver service: Could not start a new session. Response code 500. Message: session not created: Chrome failed to start: exited normally.(session not created: DevToolsActivePort file doesn't exist)(The process started from chrome location /opt/google/chrome/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)Host info: host: 'HOST NAME', ip: 'xxx.xxx.xxx.xxx'Build info: version: '4.21.0', revision: '79ed462ef4'System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.14.0-362.18.1.el9_3.x86_64', java.version: '21.0.3'Driver info: driver.version: unknownBuild info: version: '4.21.0', revision: '79ed462ef4'System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.14.0-362.18.1.el9_3.x86_64', java.version: '21.0.3'Driver info: driver.version: unknownat [anon] (browser.c:138) internalat [anon] () native strict construct preventsyieldat [anon] (function:1) preventsyield
Expected:
Get the value successfully.
Add the "--no-sandbox" option to work around it.
options = new Browser.chromeOptions(); options["capabilities"]["alwaysMatch"]["goog:chromeOptions"]["args"].push("--no-sandbox"); browser = new Browser(options);