硒挂起实例化火狐驱动程序
我尝试开始使用硒(今天下载了当前版本),并复制了他们的示例,该示例可打开浏览器并执行Google搜索。
但是,该程序永远挂在第1行 。WebDriver driver = new FirefoxDriver();
我安装了 Firefox 13。
Thread dump: Thread [main] Thread.sleep(long) line: not available [native method] [local variables unavailable] FirefoxBinary.sleep(long) line: 218 FirefoxBinary.clean(FirefoxProfile, File) line: 234 NewProfileExtensionConnection.start() line: 76 FirefoxDriver.startClient() line: 200 FirefoxDriver(RemoteWebDriver).(CommandExecutor, Capabilities) line: 94 FirefoxDriver.(FirefoxBinary, FirefoxProfile) line: 147 FirefoxDriver.() line: 85 Test.main(String[]) line: 24