I'm trying to run my selenium test with selenium server standalone but getting this exception even I already update chromedriver.exe to the last version 108
org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 99
And also running with selenium grid standalone but said
Starting ChromeDriver 99.0.4844.51
This is the part of the code whenever I get or receiving the error
System.setProperty(webdriver.chrome.driver", "C:\\chromedriver.exe");
ChromeOptions options = new ChromeOptions();
options.addArguments("start-maximized");
driver = new RemoteWebDriver(new URL("http://localhost:4444/wd/hub"), options);
And currently I was using this version of selenium
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
And in PowerShell already reviewed
PS C:> .\chromedriver.exe -v
ChromeDriver 108.0.5359.71 (1e0e3868ee06e91ad636a874420e3ca3ae3756ac-refs/branch-heads/5359@{#1016})
PS C:>