following is the code:
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
public class Browser {
public static void main(String args[]){
WebDriver driver= new ChromeDriver();
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
driver.get("https://q-apis-two.iot-build.qa.covapp.io/#/dashboard");
driver.manage().window().maximize();
driver.findElement(By.id("user")).sendKeys("Q-APIS-TWO_ADMIN");
driver.findElement(By.id("password")).sendKeys("Covisint111");
driver.manage().timeouts().implicitlyWait(60,TimeUnit.SECONDS);
driver.findElement(By.className("btn btn-lg btn-primary btn-block")).click();
driver.close();
}
}
It throws the following error: Exception in thread "main" java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
I am new to selenium kindly guide me please