import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class TestSelenium {
public static void main(String[] args) {
try {
WebDriver driver = new ChromeDriver();
System.out.println("Selenium 安装成功!");
driver.quit();
} catch (Exception e) {
System.out.println("Selenium 安装失败:" + e);
}
}
}
原创文章,作者:IamIT,如若转载,请注明出处:https://docs.ihr360.com/biz_and_flow/biz_flow/29502