Eu estou enfrentando o java.lang.IllegalStateException a execução de meu código.
Código de ensaios:
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class seleniumintroduction {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver","C:\\Users\\ATIF\\OneDrive\\Desktop\\Selenium Course\\chromedriver_win32.exe");
WebDriver driver=new ChromeDriver();
}
}
Erro que eu estou vendo:
Exception in thread "main" java.lang.IllegalStateException: The driver executable must exist: C:\Users\ATIF\OneDrive\Desktop\Selenium Course\chromedriver_win32.exe