org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows:
BM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\fxdriver@googlecode.com
1440752080854 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\webdriver-staging
1440752080856 addons.xpi INFO Mapping dict@www.youdao.com to C:\Dict\stable\extensions\firefox
1440752080858 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1440752080859 addons.xpi DEBUG Skipping unavailable install location app-system-share
1440752080859 addons.xpi DEBUG Skipping unavailable install location app-system-local
1440752080869 addons.xpi DEBUG checkForChanges
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1440752081290 addons.xpi INFO Mapping IBM-cck@firefox-extensions.ibm.com to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\IBM-cck@firefox-extensions.ibm.com
1440752081290 addons.xpi DEBUG Installed distribution add-on IBM-cck@firefox-extensions.ibm.com
1440752082710 addons.xpi INFO Mapping ietab@ip.cn to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\ietab@ip.cn
1440752082711 addons.xpi DEBUG Installed distribution add-on ietab@ip.cn
1440752086903 addons.xpi INFO Mapping langpack-en-US@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\langpack-en-US@firefox.mozilla.org
1440752086903 addons.xpi DEBUG Installed distribution add-on langpack-en-US@firefox.mozilla.org
1440752091063 addons.xpi INFO Mapping langpack-es-ES@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\langpack-es-ES@firefox.mozilla.org
1440752091063 addons.xpi DEBUG Installed distribution add-on langpack-es-ES@firefox.mozilla.org
1440752095112 addons.xpi INFO Mapping langpack-fr@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\langpack-fr@firefox.mozilla.org
1440752095112 addons.xpi DEBUG Installed distribution add-on langpack-fr@firefox.mozilla.org
1440752099170 addons.xpi INFO Mapping langpack-it@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\langpack-it@firefox.mozilla.org
1440752099170 addons.xpi DEBUG Installed distribution add-on langpack-it@firefox.mozilla.org
1440752103422 addons.xpi INFO Mapping langpack-ja@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\langpack-ja@firefox.mozilla.org
1440752103422 addons.xpi DEBUG Installed distribution add-on langpack-ja@firefox.mozilla.org
1440752107660 addons.xpi INFO Mapping langpack-ko@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\langpack-ko@firefox.mozilla.org
1440752107661 addons.xpi DEBUG Installed distribution add-on langpack-ko@firefox.mozilla.org
1440752112117 addons.xpi INFO Mapping langpack-pt-BR@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\langpack-pt-BR@firefox.mozilla.org
1440752112118 addons.xpi DEBUG Installed distribution add-on langpack-pt-BR@firefox.mozilla.org
1440752116622 addons.xpi INFO Mapping langpack-zh-CN@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\langpack-zh-CN@firefox.mozilla.org
1440752116622 addons.xpi DEBUG Installed distribution add-on langpack-zh-CN@firefox.mozilla.org
1440752120619 addons.xpi INFO Mapping langpack-zh-TW@firefox.mozilla.org to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\langpack-zh-TW@firefox.mozilla.org
1440752120619 addons.xpi DEBUG Installed distribution add-on langpack-zh-TW@firefox.mozilla.org
Build info: version: '2.47.1', revision: '411b314', time: '2015-07-30 03:03:16'
System info: host: 'ADMINIB-4V1NQEB', ip: '9.123.212.126', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_31'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:134)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:276)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:116)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:223)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:212)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:125)
at com.example.tests.CFM.setUp(CFM.java:20)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
Caused by: org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
BM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\fxdriver@googlecode.com
1440752080854 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\webdriver-staging
1440752080856 addons.xpi INFO Mapping dict@www.youdao.com to C:\Dict\stable\extensions\firefox
1440752080858 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1440752080859 addons.xpi DEBUG Skipping unavailable install location app-system-share
1440752080859 addons.xpi DEBUG Skipping unavailable install location app-system-local
1440752080869 addons.xpi DEBUG checkForChanges
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
1440752081290 addons.xpi INFO Mapping IBM-cck@firefox-extensions.ibm.com to C:\Users\IBM_AD~1\AppData\Local\Temp\anonymous7856056425371178995webdriver-profile\extensions\IBM-cck@firefox-extensions.ibm.com 作者: joykao 时间: 2015-9-6 15:33
JDK8了。。。。。敢问你webdriver什么版本,firefox又是什么版本呢?作者: fuqianjun 时间: 2015-12-29 10:44