new InternetExplorerDriver();
實例InternetExplorerDriver與硒的webdriver但我可以看到如下例外: OpenQA.Selenium.DriverServiceNotFoundException was unhandled by user code
HResult=-2146233088
Message=The IEDr
我收到org.openqa.selenium.remote.SessionNotFoundException:會話null不存在異常,而試圖通過IE驅動程序打開google.com。 我的代碼如下: public class Google {
static WebDriver obj;
public static void main(String[] args) {