“java.lang.module.InvalidModuleDescriptorException: Provider class org.apache.bsf.BSFManager not in module” error with ChromeDriver Selenium
问题 I am using eclipse 09-2019 with jdk13 and selenium 3.0.1 .jar file. My Code is: package package1; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class Script1 { public static void main(String[] args) { System.out.println("Hii"); System.setProperty("Webdriver.chrome.driver","E:\\Selenium\\chromedriver.exe"); WebDriver driver=new ChromeDriver(); driver.get("http://www.google.com"); } } Error: java