|
应该和火狐 selenium架包没关系 这2个在台式机都没问题
以下是log
求大神帮帮忙啊!!!
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
UG Make addon app-global:{972ce4c6-7e08-4474-a285-3208198ce6fd} visible
1434885895335 DeferredSave.extensions.json DEBUG Save changes
1434885895335 DeferredSave.extensions.json DEBUG Save changes
1434885895339 addons.xpi DEBUG Updating database with changes to installed add-ons
1434885895339 addons.xpi-utils DEBUG Updating add-on states
1434885895340 addons.xpi-utils DEBUG Writing add-ons list
1434885895345 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1434885895345 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1434885895346 addons.manager DEBUG Registering shutdown blocker for OpenH264Provider
1434885895347 addons.manager DEBUG Registering shutdown blocker for PluginProvider
1434885896448 DeferredSave.extensions.json DEBUG Starting timer
1434885896476 addons.manager DEBUG shutdown
1434885896476 addons.manager DEBUG Calling shutdown blocker for XPIProvider
1434885896476 addons.xpi DEBUG shutdown
1434885896477 addons.xpi-utils DEBUG shutdown
1434885896477 addons.manager DEBUG Calling shutdown blocker for LightweightThemeManager
1434885896477 addons.manager DEBUG Calling shutdown blocker for OpenH264Provider
1434885896478 addons.manager DEBUG Calling shutdown blocker for PluginProvider
1434885896480 DeferredSave.extensions.json DEBUG Starting write
1434885896578 DeferredSave.extensions.json DEBUG Write succeeded
1434885896578 addons.xpi-utils DEBUG XPI Database saved, setting schema version preference to 16
1434885896579 addons.xpi DEBUG Notifying XPI shutdown observers
1434885896581 addons.manager DEBUG Async provider shutdown done
1434885897100 addons.manager DEBUG Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1434885897102 addons.manager DEBUG Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1434885897104 addons.xpi DEBUG startup
1434885897105 addons.xpi DEBUG Skipping unavailable install location app-system-local
1434885897105 addons.xpi DEBUG Skipping unavailable install location app-system-share
1434885897105 addons.xpi INFO Mapping {972ce4c6-7e08-4474-a285-3208198ce6fd} to E:\Program Files (x86)\Mozilla Firefox\browser\extensions\{972ce4c6-7e08-4474-a285-3208198ce6fd}
1434885897106 addons.xpi INFO Mapping fxdriver@googlecode.com to C:\Users\闅哱AppData\Local\Temp\anonymous7491879212789964232webdriver-profile\extensions\fxdriver@googlecode.com
1434885897106 addons.xpi DEBUG Ignoring file entry whose name is not a valid add-on ID: C:\Users\闅哱AppData\Local\Temp\anonymous7491879212789964232webdriver-profile\extensions\webdriver-staging
1434885897106 addons.xpi DEBUG checkForChanges
1434885897112 addons.xpi DEBUG No changes found
1434885897115 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1434885897116 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1434885897117 addons.manager DEBUG Registering shutdown blocker for OpenH264Provider
1434885897117 addons.manager DEBUG Registering shutdown blocker for PluginProvider
System JS : ERROR file:///C:/Users/%E9%9A%86/AppData/Local/Temp/anonymous7491879212789964232webdriver-profile/extensions/fxdriver@googlecode.com/components/bad-cert-listener.js:1965 - NS_ERROR_FILE_ACCESS_DENIED: Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [nsILocalFile.createUnique]
System JS : ERROR file:///C:/Users/%E9%9A%86/AppData/Local/Temp/anonymous7491879212789964232webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js:11480 - NS_ERROR_XPC_GS_RETURNED_FAILURE: Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]
JavaScript error: chrome://fxdriver/content/server.js, line 38: NS_ERROR_XPC_CI_RETURNED_FAILURE: Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1434885898758 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:118)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:246)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:114)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:193)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:182)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:95)
at tian.test1.test(test1.java:14)
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:47)ss
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
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)
|
|