Chrome installed Version 119.0.6045.106 | Chrome WebDriver 119.0.6045.105 | selenium-java 4.15.0 and testng 7.8.0

1,512 views
Skip to first unread message

Sadakar Pochampalli

unread,
Nov 4, 2023, 2:59:32 AM11/4/23
to Selenium Users

The combination is getting below error. Did any face the issue ? How to resolve ? Pls help. [RemoteTestNG] detected TestNG version 7.4.0

FAILED CONFIGURATION: @BeforeSuite setUp

org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 120

Current browser version is 119.0.6045.106 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe

Host info: host: 'DESKTOP-123', ip: ''

Build info: version: '4.15.0', revision: '1d14b5521b'

System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.6'

Driver info: org.openqa.selenium.chrome.ChromeDriver

Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}}]}]

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:140)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:96)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:68)

at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163)

at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)

at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)

at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:168)

at org.openqa.selenium.chromium.ChromiumDriver.<init>(ChromiumDriver.java:108)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:89)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:84)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:52)

at driverfactory.Hooks.setUp(Hooks.java:19)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)

at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:62)

at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:385)

at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:321)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:317)

at org.testng.SuiteRunner.run(SuiteRunner.java:276)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1212)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1134)

at org.testng.TestNG.runSuites(TestNG.java:1063)

at org.testng.TestNG.run(TestNG.java:1031)

at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)


SKIPPED CONFIGURATION: @BeforeTest goToOpenCRM

SKIPPED CONFIGURATION: @AfterTest tearDown

SKIPPED: login

org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 120

Current browser version is 119.0.6045.106 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe

Host info: host: 'DESKTOP-TN0U7M8', ip: '192.168.1.3'

Build info: version: '4.15.0', revision: '1d14b5521b'

System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.6'

Driver info: org.openqa.selenium.chrome.ChromeDriver

Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}}]}]

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:140)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:96)

at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:68)

at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163)

at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)

at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)

at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241)

at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:168)

at org.openqa.selenium.chromium.ChromiumDriver.<init>(ChromiumDriver.java:108)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:89)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:84)

at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:52)

at driverfactory.Hooks.setUp(Hooks.java:19)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:133)

at org.testng.internal.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:62)

at org.testng.internal.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:385)

at org.testng.internal.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:321)

at org.testng.SuiteRunner.privateRun(SuiteRunner.java:317)

at org.testng.SuiteRunner.run(SuiteRunner.java:276)

at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)

at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)

at org.testng.TestNG.runSuitesSequentially(TestNG.java:1212)

at org.testng.TestNG.runSuitesLocally(TestNG.java:1134)

at org.testng.TestNG.runSuites(TestNG.java:1063)

at org.testng.TestNG.run(TestNG.java:1031)

at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)

at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)

at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)



===============================================

Default test

Tests run: 1, Failures: 0, Skips: 1

Configuration Failures: 1, Skips: 2

===============================================



===============================================

Default suite

Total tests run: 1, Passes: 0, Failures: 0, Skips: 1

Configuration Failures: 1, Skips: 2

===============================================



Primus Pares

unread,
Nov 4, 2023, 4:09:20 AM11/4/23
to seleniu...@googlegroups.com
You need download 120 version chromedriver

сб, 4 нояб. 2023 г., 14:59 Sadakar Pochampalli <sadaka...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c92091a7-6f7f-44f4-b353-515b043921dan%40googlegroups.com.

Michael James

unread,
Nov 30, 2023, 12:54:46 AM11/30/23
to Selenium Users

The The error message indicates a version mismatch between the Chrome browser and the installed Chrome Driver. Specifically, the Chrome Driver currently in use supports Chrome version 120,

while the installed Chrome browser is at version 119. To address this issue, it is advisable to download and install the appropriate Chrome Driver version compatible with Chrome 119.

This ensures seamless compatibility and resolves the version disparity between the browser and the driver.


For your convenience, you may acquire the necessary Chrome Driver by accessing the download link provided here.

Reply all
Reply to author
Forward
0 new messages