我在 Marionette Web 驱动程序上运行 selenium 2.53.1 测试,运行测试时出现以下错误。我在 /opt/ 安装了 geckodriver 可执行文件
Caused by: org.openqa.selenium.WebDriverException: The driver server has unexpectedly died!
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
System info: host: 'or1010050252127.corp.test.com', ip: '10.50.252.127', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-74-generic', java.version: '1.7.0_111'
Driver info: driver.version: MarionetteDriver
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:88)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)
... 19 more
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:7048 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused