selenium: [🐛 Bug]: ChromeBeta session not starting
What happened?
I am executing a complete automated suite which has multiple test cases and for each test case I am launching a new chrome driver session.
Earlier after random number of successful launch at 1 launch it fails with below exception: org.openqa.selenium.SessionNotCreatedException: session not created from no such execution context: uniqueContextId not found
But now with same behaviour but different exception: org.openqa.selenium.SessionNotCreatedException: session not created from no such execution context: loader has changed while resolving nodes (Session info: chrome=115.0.5790.75) Build info: version: ‘unknown’, revision: ‘unknown’, time: ‘unknown’ System info: host: ‘PC01SSDEVEL192’, ip: ‘10.245.212.221’, os.name: ‘Windows 10’, os.arch: ‘x86’, os.version: ‘10.0’, java.version: ‘1.8.0_361’ Driver info: driver.version: ChromeDriver
I am using chrome beta version 115 I have provided it’s executable path in binary of chrome options and also passing the compatible driver.
Need help to understand what might be going wrong in this case? And How to fix it?
How can we reproduce the issue?
Create a suite of multiple test cases and for each test case start a new chrome beta session
Relevant log output
org.openqa.selenium.SessionNotCreatedException: session not created from no such execution context: loader has changed while resolving nodes (Session info: chrome=115.0.5790.75) Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'PC01SSDEVEL192', ip: '10.245.212.221', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_361' Driver info: driver.version: ChromeDriver
Operating System
Windows 10
Selenium version
3.141.59
What are the browser(s) and version(s) where you see this issue?
Chrome Beta 115.0.5790.75
What are the browser driver(s) and version(s) where you see this issue?
115.0.5790.56
Are you using Selenium Grid?
No
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 25 (5 by maintainers)
I also experienced this issue yesterday intermittantly on chrome 117.
WebDriverException: no such execution context(Session info: chrome=117.0.5938.89) (Driver info: chromedriver=117.0.5938.88 (be6afae4721209be42944bbcd325665f9f44563b-refs/branch-heads/5938_62@{#9}),platform=Windows NT 10.0.14393 x86_64)I faced this same issue on chrome 118.0.5993.70 version.
org.openqa.selenium.WebDriverException: no such execution context (Session info: chrome=118.0.5993.70) time: '2018-11-14T08:17:03’os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘5.15.0-1039-aws’, java.version: ‘17.0.8’ Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 118.0.5993.70, chrome: {chromedriverVersion: 118.0.5993.70 (e52f33f30b91…, userDataDir: /tmp/.org.chromium.Chromium…}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:33391}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
I’m seeing this (or at least very similar) issue on 117. I’m not sure it is resolved.
Just an update: The issue is occurring due to recent changes done in Chrome 113. The issue has been acknowledged by Chrome team and is fixed in Chrome 117. Reference: https://bugs.chromium.org/p/chromedriver/issues/detail?id=4205
Selenium 3.4 is over 6 years old. Please update to Selenium 4.10
Note that we only support the most recent version of Selenium.