Oct 07, 2024 10:16:50 PM org.openqa.selenium.remote.service.DriverService findExecutable
WARNING: Unable to obtain driver using Selenium Manager: Unsuccessful command executed: [C:\Users\Vishnu\AppData\Local\Temp\selenium-manager1714805768314003136119346063585343\selenium-manager.exe, --driver, chromedriver]
WARN Error getting version of chromedriver 129. Retrying with chromedriver 128 (attempt 1/5)
WARN Error getting version of chromedriver 128. Retrying with chromedriver 127 (attempt 2/5)
WARN Error getting version of chromedriver 127. Retrying with chromedriver 126 (attempt 3/5)
WARN Error getting version of chromedriver 126. Retrying with chromedriver 125 (attempt 4/5)
WARN Error getting version of chromedriver 125. Retrying with chromedriver 124 (attempt 5/5)
ERROR The chromedriver version cannot be discovered
Build info: version: '4.8.1', revision: '8ebccac989'
System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '19.0.2'
Driver info: driver.version: ChromeDriver
Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://chromedriver.chromium.org/. The latest version can be downloaded from https://chromedriver.chromium.org/downloads
at org.openqa.selenium.internal.Require$StateChecker.nonNull(Require.java:314)
at org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:149)
at org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:42)
at org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:315)
at org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:456)
at org.openqa.selenium.chrome.ChromeDriverService.createServiceWithConfig(ChromeDriverService.java:165)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:71)
at testcases.Sample.main(Sample.java:13)
This error indicates that Selenium is unable to locate or use the correct version of ChromeDriver. Here’s how you can resolve it:
Download the Latest ChromeDriver:
Set the Path to ChromeDriver:
Update Selenium to the Latest Version:
--
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 visit https://groups.google.com/d/msgid/selenium-users/1a5d1c97-5ca8-45fd-9261-13159dcaa5f3n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/selenium-users/CAJPyTs3pZZVfgDcwY0AVBb9u7pF6PKy_6AC8RTOTp_4NN3LQCw%40mail.gmail.com.