While Newly configuring selenium WebDriver in eclipse facing below error during application launch.
Exception in thread “main” 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 98 Current browser version is 97.0.4692.71 with binary path C:\Program Files (x86)\Google\Chrome\Application\chrome.exe Build info: version: ‘4.1.1’, revision: ‘e8fcc2cecf’ System info: host: ‘DESKTOP-GACNC4L’, ip: ‘192.168.0.104’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_251’ Driver info: org.openqa.selenium.chrome.ChromeDriver
Issue occurred because of compatibility issue in chromedriver.exe version and chrome browser version which selenium WebDriver launching. We can fix this issue by downloading same chromedriver version which we are currently launching chrome browser version.
Inshort, If we use same chrome browser and chrome driver, Issue will be resolved. By using both same version issue resolved we can see below.
If you still facing issue, please do let me know in comment section, will help you to get fixed.