package selsample;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class selclass[enter image description here][1] {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.setProperty("webdriver.chrome.driver", "C:\\Users\\username\\Selenium.exe");
WebDriver driver=new ChromeDriver();
driver.get("https://app.doselect.com/test/bvd9b/feedback");
}
}
The chromedriver.exe
is not available in the mentioned that's why it shows driver executable does not exist, you can set it as below
Create a folder in your project named driver
just copy the chromedriver.exe to that folder (eg. /driver/chromedriver.exe)
String path = System.getProperty("user.dir");
System.setProperty("webdriver.chrome.driver",path+"\\driver\\chromedriver.exe");
You check this that might help you just follow the steps