Je suis face à java.lang.IllegalStateException de l'exécution de mon code.
Code des essais:
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();
}
}
Erreur que je vois:
Exception in thread "main" java.lang.IllegalStateException: The driver executable must exist: C:\Users\ATIF\OneDrive\Desktop\Selenium Course\chromedriver_win32.exe