[exec] ERROR in (seo-logged-out) (NativeConstructorAccessorImpl.java:-2)
[exec] Uncaught exception, not in assertion.
[exec] expected: nil
[exec] actual: org.openqa.selenium.StaleElementReferenceException: Element not found in the cache - perhaps the page has changed since it was looked up
[exec] Command duration or timeout: 60.15 seconds
[exec] For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
[exec] Build info: version: '2.47.1', revision: 'unknown', time: '2015-07-30 11:02:44'
[exec] System info: host: 'Sean-Corfields-iMac.local', ip: '10.0.0.6', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.5', java.version: '1.8.0_31'
[exec] Driver info: org.openqa.selenium.firefox.FirefoxDriver
[exec] Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=32.0.3, platform=MAC, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}]
[exec] Session ID: eeb39da3-4d29-934d-a0ff-fee53a134f1f
[exec] at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
[exec] sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
[exec] sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
[exec] java.lang.reflect.Constructor.newInstance (Constructor.java:408)
[exec] org.openqa.selenium.remote.ErrorHandler.createThrowable (ErrorHandler.java:206)
[exec] org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed (ErrorHandler.java:158)
[exec] org.openqa.selenium.remote.RemoteWebDriver.execute (RemoteWebDriver.java:595)
[exec] org.openqa.selenium.remote.RemoteWebElement.execute (RemoteWebElement.java:273)
[exec] org.openqa.selenium.remote.RemoteWebElement.getText (RemoteWebElement.java:157)
[exec] sun.reflect.GeneratedMethodAccessor8.invoke (:-1)
[exec] sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
[exec] java.lang.reflect.Method.invoke (Method.java:483)
[exec] clojure.lang.Reflector.invokeMatchingMethod (Reflector.java:93)
[exec] clojure.lang.Reflector.invokeNoArgInstanceMember (Reflector.java:313)
[exec] clj_webdriver.core$eval3184$fn__3226.invoke (core_element.clj:107)
[exec] clj_webdriver.core$eval2349$fn__2429$G__2340__2434.invoke (core.clj:93)
[exec] clj_webdriver.taxi$text.invoke (taxi.clj:1104)
[exec] clj_webdriver.taxi$text.invoke (taxi.clj:1102)
[exec] worldsingles.test.seo_logged_out/fn (seo_logged_out.clj:16)
--
You received this message because you are subscribed to the Google Groups "clj-webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clj-webdrive...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I have seen such errors if I hold onto the reference of that object and pass that object for click, wait etc.
Its possible that the the node has changed and hence its not able to find the old object.
Is there a wait check before you do text on it?
Are you sure you are directly looking up that element by css selector?