[quote="ruchijunnarkar@yahoo.co.in"]Is this code correct ? If yes then why it is giving the following error ?
System.setProperty("webdriver.[color=#FF0000:1dylfczs][size=150:1dylfczs]crome[/size:1dylfczs][/color:1dylfczs].driver", "C:\\Users\\Ruchi Junnarkar\\chromedriver.exe");
-------------------------------------------------------------
Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.[color=#00FF00:1dylfczs][size=150:1dylfczs]chrome[/size:1dylfczs][/color:1dylfczs].driver system pro
Hi,
Replace crome, with Chrome