- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有以下配置
java-版本
openjdk版本“1.8.0_40-内部”
OpenJDK 运行时环境(内部版本 1.8.0_40-internal-b27)
OpenJDK 64 位服务器虚拟机(内部版本 25.40-b25,混合模式)
Ubuntu 14.04
我正在运行以下测试
(ns selenium-web.core-test
(:require [clojure.test :refer :all]
[selenium-web.core :refer :all]
[clj-webdriver.taxi :refer :all]))
(deftest run-common-tets
(set-driver! {:browser :firefox})
(to "https://github.com")
(click "a[href*='login']")
(input-text "#login_field" "piyush")
(-> "#password" (input-text "1") submit)
(is (= "Incorrect username or password." (text ".flash")))
(quit) )
并出现以下异常:
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:
{"langpack-en-ZA@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427084855000,"mt":1426961704000},"langpack-en-GB@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000}},"app-system-share":{"webapps-team@lists.launchpad.net":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/webapps-team@lists.launchpad.net","e":false,"v":"3.0.2","st":1397697896000,"mt":1397665356000},"{2e1445b0-2682-11e1-bfc2-0800200c9a66}":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{2e1445b0-2682-11e1-bfc2-0800200c9a66}","e":false,"v":"2014.08.06.beta","st":1414992900000,"mt":1407283796000},"ubufox@ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com","e":false,"v":"3.0","st":1421386237000,"mt":1420839872000}},"app-system-local":{"online-accounts@lists.launchpad.net":{"d":"/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/online-accounts@lists.launchpad.net","e":false,"v":"0.5","st":1397697896000,"mt":1390969548000}}}
1427189374023 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-ZA@firefox.mozilla.org
1427189374024 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1427189374024 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-GB@firefox.mozilla.org
1427189374025 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"fxdriver@googlecode.com":{"d":"/tmp/anonymous8984618018842301384webdriver-profile/extensions/fxdriver@googlecode.com","e":false,"v":"2.39.0","st":1427189365000,"mt":1427189365000}},"app-global":{"langpack-en-ZA@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427084855000,"mt":1426961704000},"langpack-en-GB@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000}},"app-system-share":{"webapps-team@lists.launchpad.net":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/webapps-team@lists.launchpad.net","e":false,"v":"3.0.2","st":1397697896000,"mt":1397665356000},"{2e1445b0-2682-11e1-bfc2-0800200c9a66}":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{2e1445b0-2682-11e1-bfc2-0800200c9a66}","e":false,"v":"2014.08.06.beta","st":1414992900000,"mt":1407283796000},"ubufox@ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com","e":false,"v":"3.0","st":1421386237000,"mt":1420839872000}},"app-system-local":{"online-accounts@lists.launchpad.net":{"d":"/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/online-accounts@lists.launchpad.net","e":false,"v":"0.5","st":1397697896000,"mt":1390969548000}}}
1427189374028 addons.xpi DEBUG No changes found
1427189374033 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi
1427189374034 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
1427189374035 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1427189374036 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1427189374038 addons.manager DEBUG Registering shutdown blocker for OpenH264Provider
1427189374039 addons.manager DEBUG Registering shutdown blocker for PluginProvider
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1427189376827 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:250)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:195)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:190)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:186)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:99)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at java.lang.Class.newInstance(Class.java:442)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:313)
at clj_webdriver.core$new_webdriver_STAR_.invoke(core.clj:188)
at clj_webdriver.core$new_driver.invoke(core.clj:202)
at clj_webdriver.taxi$set_driver_STAR_.invoke(taxi.clj:26)
at clj_webdriver.taxi$set_driver_BANG_.invoke(taxi.clj:59)
at selenium_web.core_test$fn__3756.invoke(core_test.clj:9)
at clojure.test$test_var$fn__7187.invoke(test.clj:704)
at clojure.test$test_var.invoke(test.clj:704)
at clojure.test$test_vars$fn__7209$fn__7214.invoke(test.clj:722)
at clojure.test$default_fixture.invoke(test.clj:674)
at clojure.test$test_vars$fn__7209.invoke(test.clj:722)
at clojure.test$default_fixture.invoke(test.clj:674)
at clojure.test$test_vars.invoke(test.clj:718)
at clojure.test$test_all_vars.invoke(test.clj:728)
at clojure.test$test_ns.invoke(test.clj:747)
at clojure.core$map$fn__4245.invoke(core.clj:2559)
at clojure.lang.LazySeq.sval(LazySeq.java:40)
at clojure.lang.LazySeq.seq(LazySeq.java:49)
at clojure.lang.Cons.next(Cons.java:39)
at clojure.lang.RT.boundedLength(RT.java:1654)
at clojure.lang.RestFn.applyTo(RestFn.java:130)
at clojure.core$apply.invoke(core.clj:626)
at clojure.test$run_tests.doInvoke(test.clj:762)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:624)
at user$eval85$fn__140$fn__171.invoke(form-init6043962041489599905.clj:1)
at user$eval85$fn__140$fn__141.invoke(form-init6043962041489599905.clj:1)
at user$eval85$fn__140.invoke(form-init6043962041489599905.clj:1)
at user$eval85.invoke(form-init6043962041489599905.clj:1)
at clojure.lang.Compiler.eval(Compiler.java:6703)
at clojure.lang.Compiler.eval(Compiler.java:6693)
at clojure.lang.Compiler.load(Compiler.java:7130)
at clojure.lang.Compiler.loadFile(Compiler.java:7086)
at clojure.main$load_script.invoke(main.clj:274)
at clojure.main$init_opt.invoke(main.clj:279)
at clojure.main$initialize.invoke(main.clj:307)
at clojure.main$null_opt.invoke(main.clj:342)
at clojure.main$main.doInvoke(main.clj:420)
at clojure.lang.RestFn.invoke(RestFn.java:421)
at clojure.lang.Var.invoke(Var.java:383)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.Var.applyTo(Var.java:700)
at clojure.main.main(main.java:37)
lein test :only selenium-web.core-test/run-common-tets
ERROR in (run-common-tets) (NewProfileExtensionConnection.java:130)
Uncaught exception, not in assertion.
expected: nil
actual: org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows:
{"langpack-en-ZA@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427084855000,"mt":1426961704000},"langpack-en-GB@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000}},"app-system-share":{"webapps-team@lists.launchpad.net":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/webapps-team@lists.launchpad.net","e":false,"v":"3.0.2","st":1397697896000,"mt":1397665356000},"{2e1445b0-2682-11e1-bfc2-0800200c9a66}":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{2e1445b0-2682-11e1-bfc2-0800200c9a66}","e":false,"v":"2014.08.06.beta","st":1414992900000,"mt":1407283796000},"ubufox@ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com","e":false,"v":"3.0","st":1421386237000,"mt":1420839872000}},"app-system-local":{"online-accounts@lists.launchpad.net":{"d":"/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/online-accounts@lists.launchpad.net","e":false,"v":"0.5","st":1397697896000,"mt":1390969548000}}}
1427189374023 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-ZA@firefox.mozilla.org
1427189374024 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1427189374024 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-GB@firefox.mozilla.org
1427189374025 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"fxdriver@googlecode.com":{"d":"/tmp/anonymous8984618018842301384webdriver-profile/extensions/fxdriver@googlecode.com","e":false,"v":"2.39.0","st":1427189365000,"mt":1427189365000}},"app-global":{"langpack-en-ZA@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427084855000,"mt":1426961704000},"langpack-en-GB@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000}},"app-system-share":{"webapps-team@lists.launchpad.net":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/webapps-team@lists.launchpad.net","e":false,"v":"3.0.2","st":1397697896000,"mt":1397665356000},"{2e1445b0-2682-11e1-bfc2-0800200c9a66}":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{2e1445b0-2682-11e1-bfc2-0800200c9a66}","e":false,"v":"2014.08.06.beta","st":1414992900000,"mt":1407283796000},"ubufox@ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com","e":false,"v":"3.0","st":1421386237000,"mt":1420839872000}},"app-system-local":{"online-accounts@lists.launchpad.net":{"d":"/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/online-accounts@lists.launchpad.net","e":false,"v":"0.5","st":1397697896000,"mt":1390969548000}}}
1427189374028 addons.xpi DEBUG No changes found
1427189374033 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi
1427189374034 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
1427189374035 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1427189374036 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1427189374038 addons.manager DEBUG Registering shutdown blocker for OpenH264Provider
1427189374039 addons.manager DEBUG Registering shutdown blocker for PluginProvider
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1427189376827 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38'
System info: host: 'piyush', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-46-generic', java.version: '1.8.0_40-internal'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start (NewProfileExtensionConnection.java:130)
org.openqa.selenium.firefox.FirefoxDriver.startClient (FirefoxDriver.java:250)
org.openqa.selenium.remote.RemoteWebDriver.<init> (RemoteWebDriver.java:110)
org.openqa.selenium.firefox.FirefoxDriver.<init> (FirefoxDriver.java:195)
org.openqa.selenium.firefox.FirefoxDriver.<init> (FirefoxDriver.java:190)
org.openqa.selenium.firefox.FirefoxDriver.<init> (FirefoxDriver.java:186)
org.openqa.selenium.firefox.FirefoxDriver.<init> (FirefoxDriver.java:99)
sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance (Constructor.java:422)
java.lang.Class.newInstance (Class.java:442)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:497)
clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:93)
clojure.lang.Reflector.invokeNoArgInstanceMember (Reflector.java:313)
clj_webdriver.core$new_webdriver_STAR_.invoke (core.clj:188)
clj_webdriver.core$new_driver.invoke (core.clj:202)
clj_webdriver.taxi$set_driver_STAR_.invoke (taxi.clj:26)
clj_webdriver.taxi$set_driver_BANG_.invoke (taxi.clj:59)
selenium_web.core_test/fn (core_test.clj:9)
clojure.test$test_var$fn__7187.invoke (test.clj:704)
clojure.test$test_var.invoke (test.clj:704)
clojure.test$test_vars$fn__7209$fn__7214.invoke (test.clj:722)
clojure.test$default_fixture.invoke (test.clj:674)
clojure.test$test_vars$fn__7209.invoke (test.clj:722)
clojure.test$default_fixture.invoke (test.clj:674)
clojure.test$test_vars.invoke (test.clj:718)
clojure.test$test_all_vars.invoke (test.clj:728)
clojure.test$test_ns.invoke (test.clj:747)
clojure.core$map$fn__4245.invoke (core.clj:2559)
clojure.lang.LazySeq.sval (LazySeq.java:40)
clojure.lang.LazySeq.seq (LazySeq.java:49)
clojure.lang.Cons.next (Cons.java:39)
clojure.lang.RT.boundedLength (RT.java:1654)
clojure.lang.RestFn.applyTo (RestFn.java:130)
clojure.core$apply.invoke (core.clj:626)
clojure.test$run_tests.doInvoke (test.clj:762)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.core$apply.invoke (core.clj:624)
user$eval85$fn__140$fn__171.invoke (form-init6043962041489599905.clj:1)
user$eval85$fn__140$fn__141.invoke (form-init6043962041489599905.clj:1)
user$eval85$fn__140.invoke (form-init6043962041489599905.clj:1)
user$eval85.invoke (form-init6043962041489599905.clj:1)
clojure.lang.Compiler.eval (Compiler.java:6703)
clojure.lang.Compiler.eval (Compiler.java:6693)
clojure.lang.Compiler.load (Compiler.java:7130)
clojure.lang.Compiler.loadFile (Compiler.java:7086)
clojure.main$load_script.invoke (main.clj:274)
clojure.main$init_opt.invoke (main.clj:279)
clojure.main$initialize.invoke (main.clj:307)
clojure.main$null_opt.invoke (main.clj:342)
clojure.main$main.doInvoke (main.clj:420)
clojure.lang.RestFn.invoke (RestFn.java:421)
clojure.lang.Var.invoke (Var.java:383)
clojure.lang.AFn.applyToHelper (AFn.java:156)
clojure.lang.Var.applyTo (Var.java:700)
clojure.main.main (main.java:37)
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:
{"langpack-en-ZA@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427084855000,"mt":1426961704000},"langpack-en-GB@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000}},"app-system-share":{"webapps-team@lists.launchpad.net":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/webapps-team@lists.launchpad.net","e":false,"v":"3.0.2","st":1397697896000,"mt":1397665356000},"{2e1445b0-2682-11e1-bfc2-0800200c9a66}":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{2e1445b0-2682-11e1-bfc2-0800200c9a66}","e":false,"v":"2014.08.06.beta","st":1414992900000,"mt":1407283796000},"ubufox@ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com","e":false,"v":"3.0","st":1421386237000,"mt":1420839872000}},"app-system-local":{"online-accounts@lists.launchpad.net":{"d":"/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/online-accounts@lists.launchpad.net","e":false,"v":"0.5","st":1397697896000,"mt":1390969548000}}}
1427189374023 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-ZA@firefox.mozilla.org
1427189374024 addons.xpi DEBUG getModTime: Recursive scan of {972ce4c6-7e08-4474-a285-3208198ce6fd}
1427189374024 addons.xpi DEBUG getModTime: Recursive scan of langpack-en-GB@firefox.mozilla.org
1427189374025 addons.xpi DEBUG getInstallState changed: false, state: {"app-profile":{"fxdriver@googlecode.com":{"d":"/tmp/anonymous8984618018842301384webdriver-profile/extensions/fxdriver@googlecode.com","e":false,"v":"2.39.0","st":1427189365000,"mt":1427189365000}},"app-global":{"langpack-en-ZA@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000},"{972ce4c6-7e08-4474-a285-3208198ce6fd}":{"d":"/usr/lib/firefox/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}","e":true,"v":"36.0.4","st":1427084855000,"mt":1426961704000},"langpack-en-GB@firefox.mozilla.org":{"d":"/usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi","e":true,"v":"36.0.4","st":1426962281000}},"app-system-share":{"webapps-team@lists.launchpad.net":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/webapps-team@lists.launchpad.net","e":false,"v":"3.0.2","st":1397697896000,"mt":1397665356000},"{2e1445b0-2682-11e1-bfc2-0800200c9a66}":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{2e1445b0-2682-11e1-bfc2-0800200c9a66}","e":false,"v":"2014.08.06.beta","st":1414992900000,"mt":1407283796000},"ubufox@ubuntu.com":{"d":"/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/ubufox@ubuntu.com","e":false,"v":"3.0","st":1421386237000,"mt":1420839872000}},"app-system-local":{"online-accounts@lists.launchpad.net":{"d":"/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/online-accounts@lists.launchpad.net","e":false,"v":"0.5","st":1397697896000,"mt":1390969548000}}}
1427189374028 addons.xpi DEBUG No changes found
1427189374033 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-ZA@firefox.mozilla.org.xpi
1427189374034 addons.xpi DEBUG Registering manifest for /usr/lib/firefox/browser/extensions/langpack-en-GB@firefox.mozilla.org.xpi
1427189374035 addons.manager DEBUG Registering shutdown blocker for XPIProvider
1427189374036 addons.manager DEBUG Registering shutdown blocker for LightweightThemeManager
1427189374038 addons.manager DEBUG Registering shutdown blocker for OpenH264Provider
1427189374039 addons.manager DEBUG Registering shutdown blocker for PluginProvider
*** Blocklist::_preloadBlocklistFile: blocklist is disabled
1427189376827 addons.manager DEBUG Registering shutdown blocker for <unnamed-provider>
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start (NewProfileExtensionConnection.java:118)
org.openqa.selenium.firefox.FirefoxDriver.startClient (FirefoxDriver.java:250)
org.openqa.selenium.remote.RemoteWebDriver.<init> (RemoteWebDriver.java:110)
org.openqa.selenium.firefox.FirefoxDriver.<init> (FirefoxDriver.java:195)
org.openqa.selenium.firefox.FirefoxDriver.<init> (FirefoxDriver.java:190)
org.openqa.selenium.firefox.FirefoxDriver.<init> (FirefoxDriver.java:186)
org.openqa.selenium.firefox.FirefoxDriver.<init> (FirefoxDriver.java:99)
sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance (Constructor.java:422)
java.lang.Class.newInstance (Class.java:442)
sun.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)
sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:497)
clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:93)
clojure.lang.Reflector.invokeNoArgInstanceMember (Reflector.java:313)
clj_webdriver.core$new_webdriver_STAR_.invoke (core.clj:188)
clj_webdriver.core$new_driver.invoke (core.clj:202)
clj_webdriver.taxi$set_driver_STAR_.invoke (taxi.clj:26)
clj_webdriver.taxi$set_driver_BANG_.invoke (taxi.clj:59)
selenium_web.core_test/fn (core_test.clj:9)
clojure.test$test_var$fn__7187.invoke (test.clj:704)
clojure.test$test_var.invoke (test.clj:704)
clojure.test$test_vars$fn__7209$fn__7214.invoke (test.clj:722)
clojure.test$default_fixture.invoke (test.clj:674)
clojure.test$test_vars$fn__7209.invoke (test.clj:722)
clojure.test$default_fixture.invoke (test.clj:674)
clojure.test$test_vars.invoke (test.clj:718)
clojure.test$test_all_vars.invoke (test.clj:728)
clojure.test$test_ns.invoke (test.clj:747)
clojure.core$map$fn__4245.invoke (core.clj:2559)
clojure.lang.LazySeq.sval (LazySeq.java:40)
clojure.lang.LazySeq.seq (LazySeq.java:49)
clojure.lang.Cons.next (Cons.java:39)
clojure.lang.RT.boundedLength (RT.java:1654)
clojure.lang.RestFn.applyTo (RestFn.java:130)
clojure.core$apply.invoke (core.clj:626)
clojure.test$run_tests.doInvoke (test.clj:762)
clojure.lang.RestFn.applyTo (RestFn.java:137)
clojure.core$apply.invoke (core.clj:624)
user$eval85$fn__140$fn__171.invoke (form-init6043962041489599905.clj:1)
user$eval85$fn__140$fn__141.invoke (form-init6043962041489599905.clj:1)
user$eval85$fn__140.invoke (form-init6043962041489599905.clj:1)
user$eval85.invoke (form-init6043962041489599905.clj:1)
clojure.lang.Compiler.eval (Compiler.java:6703)
clojure.lang.Compiler.eval (Compiler.java:6693)
clojure.lang.Compiler.load (Compiler.java:7130)
clojure.lang.Compiler.loadFile (Compiler.java:7086)
clojure.main$load_script.invoke (main.clj:274)
clojure.main$init_opt.invoke (main.clj:279)
clojure.main$initialize.invoke (main.clj:307)
clojure.main$null_opt.invoke (main.clj:342)
clojure.main$main.doInvoke (main.clj:420)
clojure.lang.RestFn.invoke (RestFn.java:421)
clojure.lang.Var.invoke (Var.java:383)
clojure.lang.AFn.applyToHelper (AFn.java:156)
clojure.lang.Var.applyTo (Var.java:700)
clojure.main.main (main.java:37)
Ran 1 tests containing 1 assertions.
0 failures, 1 errors.
Tests failed.
最佳答案
这通常与 clj-webdriver 没有包含足够新的 selenium 版本有关。 Firefox 更新经常对网络驱动程序连接进行重大更改,这些更改仅受最新的 selenium 版本支持。
更改 project.clj
中的 clj-webdriver
依赖项以排除包含的 selenium,并添加 latest selenium version 的依赖项(发布时为 2.45.0)。
[clj-webdriver "0.6.1" :exclusion [com.github.detro.ghostdriver/phantomjsdriver
org.seleniumhq.selenium/selenium-server
org.seleniumhq.selenium/selenium-java
org.seleniumhq.selenium/selenium-remote-driver]]
[org.seleniumhq.selenium/selenium-server "2.45.0"]
[org.seleniumhq.selenium/selenium-java "2.45.0"]
[org.seleniumhq.selenium/selenium-remote-driver "2.45.0"]
关于java - 火狐未连接异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29229459/
如何从 中删除选定的附件元素 ? 当您已经选择一个附件时,Firefox 似乎无法删除附件。 我尝试删除名称并点击打开,但没有任何反应。 我也试过取消,但附件还在。 我的解决方案是添加一些 oncl
我在 Firefox(版本 38.05)中遇到一个非常奇怪的错误。我有一个如下所示的表单,以及一段用于验证的 Javascript Javascript function ch
所以我知道how to使用 CSS 指定 HTML input 占位符的颜色。然而,这似乎不适用于 Mozilla Firefox 中 number 类型的 input 字段(尽管在 Chrome 中
我创建了简单的类似 hello world 的插件,它绘制了红色框。 嵌入 xulrunner 应用程序后,该插件几乎可以正常工作。 Xulrunner 应用程序在调整应用程序窗口大小时成功重绘了框。
我在 Firefox javascript 中遇到了一件非常奇怪的事情。我创建了一个对象,并使用字符串作为键。当我看到“watch”键是否有值时,如果其中没有“watch”键,它会通过返回 Objec
好的。我知道我问的是一个老生常谈的问题,但我发布这个问题是因为尽管尝试了各种链接上提供的所有解决方案,我的问题仍未得到解决。 我的限制 - 我不想使用已保存的 Firefox 配置文件来保存网站的证书
我只是想知道如何通过浏览器(Firefox)调用 WCF 服务? 我的 WCF 服务如下所示: http://localhost:4249/TestService.svc 我试过这个: [Servic
想要一些帮助来解释为什么这不起作用 from selenium import webdriver browser = webdriver.Firefox() browser.get('https://
Firefox 是一种浏览器,没有它我什至无法想到开发 Web 应用程序。它带有许多方便的附加组件和功能,使开发人员的工作变得轻松。 然而,Firefox 的功能非常庞大,并不是每个人都知道它们。因此
我的吉普车有一个基于浏览器的服务手册。在 IE 中运行良好,但在 Firefox 中运行不佳。基本上有一个目录,您可以展开并深入到子主题,例如 [+] 手拿包 [+] 冷却 [+] 电气 但是 Fir
看了一下,发现了一些东西,但似乎没有什么能像我想要的那样工作。 最初我有我的解决方案与 internet explorer 和 chrome 一起工作,但不是 firefox(这让我不满意不能工作)
编辑我有一个状态栏,可用于启用和禁用插件。 最佳答案 定义时: 您的弹出窗口由两个元素组成,image 和 menuitem。弹出窗口
我在菜单中定位悬停效果时遇到问题。在 Firefox 中没问题,但在 chrome 中悬停效果是 UP 的问题。 Firefox:(这里可以) http://pasteboard.co/1ami0qr
这个问题在这里已经有了答案: †appearing instead of quotation marks (1 个回答) 关闭 5 年前。
我的 ASP.net 网站中的一个 GridView header 有问题。我想在我的标题单元格中显示绿色背景颜色的白色文本。我还想让这些单元格的边框颜色保持黑色。 这是我用于标题的 CSS: .my
我有这个输入,在 :before 标签中定义了一些内容。在 IE 和 Chrome 中它运行完美,但 Firefox 把它弄得一团糟。 内容应该在输入标签中可见,但在 Firefox 中,内容在 in
谁能告诉我为什么 firefox 没有打开并添加了以下 Net::HTTPServer 行? #!/usr/bin/perl # v5.10.1 / linux use strict; use war
我和我的同事在使用 Firefox 3.0.6 访问我们正在开发的 Java 1.6.0___11 Web 应用程序时遇到问题。 session 开始后 1 到 30 分钟内一切正常...但最终,连接
friend , 我注意到在 Firefox v23.0.1 中,HTMLElement(input,button..etc) 的 hasOwnProperty 不起作用, button1.hasOw
有什么办法可以禁用这个“功能”吗? 例如,如果向 http://localhost/foo.html 发出请求,并且我已将其指定为根地址“301”,则所有后续请求都会发送到 foo.html。 htm
我是一名优秀的程序员,十分优秀!