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