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 ?
InstructorSupport Team Reply on 08/05/2020
Restart the system once.
Even then it is not working
InstructorSupport Team Reply on 13/05/2020
Then I am sure there is some issue in setting path
Even upper and lower case matter
Please look carefully