Chrome driver | Selenium Forum
A
Anisha Posted on 07/05/2020

I have mentioned the path of drivers in environment variable . But when I run the code without writing System.setProperty(ChromeDriverService.CHROME_DRIVER_EXE_PROPERTY, "D:\\2020\\Driver\\chromedriver.exe"). It doesn't open the chrome browser . but works fine for FireFox .

Chrome opens only when I explicitly write this line . Why ?


A
Ashish Replied on 08/05/2020

Restart the system once.


A
Anisha Replied on 12/05/2020

Even then it is not working 


A
Ashish Replied on 13/05/2020

Then I am sure there is some issue in setting path

Even upper and lower case matter

Please look carefully


Related Posts