java selenium 使用启动 不能打开网址

无知的小孩 发布于 2014/10/31 15:47
阅读 3K+
收藏 0
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
I~1\\AppData\\Local\\Temp\\anonymous945129853097619474webdriver-profile\\extensions\\semodifier@mozillaonline.com.xpi","mtime":1414741222408},"tabimprovelite@mozillaonline.com":{"descriptor":"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\anonymous945129853097619474webdriver-profile\\extensions\\tabimprovelite@mozillaonline.com.xpi","mtime":1414741222413},"wx-assistant@mozillaonline.com":{"descriptor":"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\anonymous945129853097619474webdriver-profile\\extensions\\wx-assistant@mozillaonline.com.xpi","mtime":1414741222422}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\account@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\account@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on account@mozillaonline.com version 1.0.11
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\commonfix@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\commonfix@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on commonfix@mozillaonline.com version 0.7
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\semodifier@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\semodifier@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on semodifier@mozillaonline.com version 0.2
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\wx-assistant@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\wx-assistant@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on wx-assistant@mozillaonline.com version 1.0.3
*** LOG addons.xpi: Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi
*** LOG addons.xpi: Calling bootstrap method startup on {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A} version 7.3.16540.9015
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWindowsRegKey.create]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous945129853097619474webdriver-profile/extensions/coba@mozilla.com.cn/components/nsWatchFactory.js :: checkIECompatMode :: line 99"  data: no]
************************************************************
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** ERROR COBA: Failed to hook function: getShortcutOrURI
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded
JavaScript error: resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/c2c_options_menu_localization.js, line 189: document.getElementById(...) is null


at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:106)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:244)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:179)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:92)
at com.cn.MT.main(MT.java:17)
Exception in thread "main" org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(C:\Program Files (x86)\Mozilla Firefox\firefox.exe) on port 7055; process output follows: 
I~1\\AppData\\Local\\Temp\\anonymous945129853097619474webdriver-profile\\extensions\\semodifier@mozillaonline.com.xpi","mtime":1414741222408},"tabimprovelite@mozillaonline.com":{"descriptor":"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\anonymous945129853097619474webdriver-profile\\extensions\\tabimprovelite@mozillaonline.com.xpi","mtime":1414741222413},"wx-assistant@mozillaonline.com":{"descriptor":"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\anonymous945129853097619474webdriver-profile\\extensions\\wx-assistant@mozillaonline.com.xpi","mtime":1414741222422}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\account@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\account@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on account@mozillaonline.com version 1.0.11
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\commonfix@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\commonfix@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on commonfix@mozillaonline.com version 0.7
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\semodifier@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\semodifier@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on semodifier@mozillaonline.com version 0.2
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\wx-assistant@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\wx-assistant@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on wx-assistant@mozillaonline.com version 1.0.3
*** LOG addons.xpi: Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi
*** LOG addons.xpi: Calling bootstrap method startup on {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A} version 7.3.16540.9015
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWindowsRegKey.create]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous945129853097619474webdriver-profile/extensions/coba@mozilla.com.cn/components/nsWatchFactory.js :: checkIECompatMode :: line 99"  data: no]
************************************************************
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** ERROR COBA: Failed to hook function: getShortcutOrURI
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded
JavaScript error: resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/c2c_options_menu_localization.js, line 189: document.getElementById(...) is null


Build info: version: '2.28.0', revision: '18309', time: '2012-12-11 20:21:18'
System info: os.name: 'Windows Vista', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_13'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:244)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:183)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:179)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:92)
at com.cn.MT.main(MT.java:17)
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:
I~1\\AppData\\Local\\Temp\\anonymous945129853097619474webdriver-profile\\extensions\\semodifier@mozillaonline.com.xpi","mtime":1414741222408},"tabimprovelite@mozillaonline.com":{"descriptor":"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\anonymous945129853097619474webdriver-profile\\extensions\\tabimprovelite@mozillaonline.com.xpi","mtime":1414741222413},"wx-assistant@mozillaonline.com":{"descriptor":"C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\anonymous945129853097619474webdriver-profile\\extensions\\wx-assistant@mozillaonline.com.xpi","mtime":1414741222422}}}]
*** LOG addons.xpi-utils: Opening XPI database C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions.json
*** LOG addons.xpi-utils: Successfully read XPI database
*** LOG addons.xpi: No changes found
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\account@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\account@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on account@mozillaonline.com version 1.0.11
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\commonfix@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\commonfix@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on commonfix@mozillaonline.com version 0.7
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\semodifier@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\semodifier@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on semodifier@mozillaonline.com version 0.2
*** LOG addons.xpi: Registering manifest for C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\wx-assistant@mozillaonline.com.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Users\ADMINI~1\AppData\Local\Temp\anonymous945129853097619474webdriver-profile\extensions\wx-assistant@mozillaonline.com.xpi
*** LOG addons.xpi: Calling bootstrap method startup on wx-assistant@mozillaonline.com version 1.0.3
*** LOG addons.xpi: Registering manifest for C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi
*** LOG addons.xpi: Loading bootstrap scope from C:\Program Files (x86)\Mozilla Firefox\browser\extensions\{82AF8DCA-6DE9-405D-BD5E-43525BDAD38A}.xpi
*** LOG addons.xpi: Calling bootstrap method startup on {82AF8DCA-6DE9-405D-BD5E-43525BDAD38A} version 7.3.16540.9015
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWindowsRegKey.create]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: file:///C:/Users/ADMINI~1/AppData/Local/Temp/anonymous945129853097619474webdriver-profile/extensions/coba@mozilla.com.cn/components/nsWatchFactory.js :: checkIECompatMode :: line 99"  data: no]
************************************************************
*** Blocklist::_loadBlocklistFromFile: blocklist is disabled
*** ERROR COBA: Failed to hook function: getShortcutOrURI
*** LOG addons.repository: No addons.json found.
*** LOG DeferredSave/addons.json: Save changes
*** LOG DeferredSave/addons.json: Starting timer
*** LOG DeferredSave/addons.json: Starting write
*** LOG DeferredSave/addons.json: Write succeeded
JavaScript error: resource://skype_ff_extension-at-jetpack/skype_ff_extension/data/c2c_options_menu_localization.js, line 189: document.getElementById(...) is null


at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:106)
... 7 more

加载中
返回顶部
顶部