I am trying to launch Mozilla but still I am getting this error:
Exception in thread \"main\" java.lang.IllegalStateException: The path to the driver
System.setProperty("webdriver.gecko.driver", "C:\\gecko\\geckodriver.exe"); System.setProperty("webdriver.firefox.bin","C:\\Program Files\\Mozilla Firefox\\firefox.exe"); WebDriver driver = new FirefoxDriver();