I would like to run Selenium server standalone 4 on my server. But as I try to run java -jar selenium-server-4-beta-2.jar standalone
it throws me an error:
No drivers have been configured or have been found on PATH
I don't understand what to do it. I have an actual driver file in the same directory as the jar file.
Can somebody tell me please what it means?
You can also download the chromedriver directly from here: https://chromedriver.chromium.org/downloads
and the set the "path" variable with the location of the chromedriver:
Then run the commend:
java -jar selenium-server-4.0.0.jar standalone
have you set the chrome driver path. you may want to set that
System.setProperty("webdriver.chrome.driver","Your Chrome driver locaton");
WebDriver driver =new ChromeDriver();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With