Url未綁定到Firefox瀏覽器中。我正在使用最新版本的硒罐(版本:27)和最新版本的Firefox(40.0.3)。網址未在Firefox中輸入
我的代碼是:
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class first {
public static void main(String args[])
{
WebDriver driver = new FirefoxDriver();
driver.get("http://www.google.com");
}
}
感謝ü這麼多... :-)其現在的工作 – Spartan