org.openqa.selenium.StaleElementReferenceException: Element not found in the cache - perhaps the page has changed since it was looked up Command duration or timeout: 60.11 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'pallabs-air.proteincentre.com', ip: '172.16.1.118', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.5', java.version: '1.8.0_92' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=46.0.1, platform=MAC, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 435c3ba8-24b8-164e-8c4f-e5415dd79b22

Stack Overflow | Paul85 | 5 months ago
  1. 0

    Java selenium load javascript table

    Stack Overflow | 5 months ago | Paul85
    org.openqa.selenium.StaleElementReferenceException: Element not found in the cache - perhaps the page has changed since it was looked up Command duration or timeout: 60.11 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'pallabs-air.proteincentre.com', ip: '172.16.1.118', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.5', java.version: '1.8.0_92' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=46.0.1, platform=MAC, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 435c3ba8-24b8-164e-8c4f-e5415dd79b22
  2. 0

    If statement Loop Break in selenium code

    Stack Overflow | 5 months ago | TCC
    org.openqa.selenium.StaleElementReferenceException: Element is no longer valid (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 14 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40' System info: host: 'PN4506252', ip: '138.220.162.98', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_91' Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{browserAttachTimeout=0, enablePersistentHover=true, ie.forceCreateProcessApi=false, pageLoadStrategy=normal, ie.usePerProcessProxy=false, ignoreZoomSetting=false, handlesAlerts=true, version=11, platform=WINDOWS, nativeEvents=true, ie.ensureCleanSession=false, elementScrollBehavior=0, ie.browserCommandLineSwitches=, requireWindowFocus=false, browserName=internet explorer, initialBrowserUrl=http://localhost:44629/, takesScreenshot=true, javascriptEnabled=true, ignoreProtectedModeSettings=false, enableElementCacheCleanup=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=dismiss}] Session ID: 37e633cf-7f23-4704-8177-d5dd48005047
  3. 0

    Cucumberjs errors out with 'element is not attached to the page document'

    GitHub | 9 months ago | YashdalfTheGray
    org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document (Session info: chrome=48.0.2564.116) (Driver info: chromedriver=2.20.353124 (035346203162d32c80f1dce587c8154a1efa0c3b),platform=Mac OS X 10.11.3 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 21 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:59:12' System info: host: 'Yashs-MBP-2', ip: '192.168.1.200', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.3', java.version: '1.8.0_74' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={userDataDir=/var/folders/dh/229j4j150wx04wrjtw9bh6l00000gn/T/.org.chromium.Chromium.RrnUOz}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=48.0.2564.116, platform=MAC, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: c0d4eb784322e9385ba583cf5896ee91
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Stale Element error is not beight caught

    GitHub | 8 months ago | qualityshepherd
    org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document (Session info: chrome=49.0.2623.110) (Driver info: chromedriver=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4),platform=Mac OS X 10.11.3 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 42 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58' System info: host: '13.local', ip: '192.168.0.3', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.3', java.version: '1.7.0_75' Session ID: 0b722a4c0d36eed5aa856fc859151ea9 Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{platform=MAC, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=/var/folders/39/2gckmzs959l7x2y1rn_cp9tc0000gn/T/.org.chromium.Chromium.5Wg63U, chromedriverVersion=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4)}, rotatable=false, locationContextEnabled=true, mobileEmulationEnabled=false, version=49.0.2623.110, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, webStorageEnabled=true, nativeEvents=true, hasTouchScreen=false, applicationCacheEnabled=false, takesScreenshot=true}]
  6. 0

    {noformat} Element is no longer attached to the DOM System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.27.10-grsec-xxxx-grs-ipv4-64', java.version: '1.6.0_25' Driver info: driver.version: RemoteWebDriver Stacktrace org.openqa.selenium.StaleElementReferenceException: Element is no longer attached to the DOM System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.27.10-grsec-xxxx-grs-ipv4-64', java.version: '1.6.0_25' Driver info: driver.version: RemoteWebDriver at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:131) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:105) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:395) at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:195) at org.openqa.selenium.remote.RemoteWebElement.getText(RemoteWebElement.java:105) at org.xwiki.test.ui.framework.elements.RegisterPage.validationFailureMessagesInclude(RegisterPage.java:112) at org.xwiki.test.ui.RegisterTest.testRegisterEmptyPassword(RegisterTest.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:24) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.junit.extensions.cpsuite.ClasspathSuite.run(ClasspathSuite.java:194) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Element is no longer attached to the DOM System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.27.10-grsec-xxxx-grs-ipv4-64', java.version: '1.6.0_25' Driver info: driver.version: unknown at <anonymous class>.WebDriverError(file:///tmp/anonymous1478603787594974079webdriver-profile/extensions/fxdriver@googlecode.com/resource/modules/utils.js:7081) at <anonymous class>.<anonymous method>(file:///tmp/anonymous1478603787594974079webdriver-profile/extensions/fxdriver@googlecode.com/resource/modules/utils.js:7195) at <anonymous class>.<anonymous method>(file:///tmp/anonymous1478603787594974079webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js -> file:///tmp/anonymous1478603787594974079webdriver-profile/extensions/fxdriver@googlecode.com/components/wrappedElement.js:125) at <anonymous class>.<anonymous method>(file:///tmp/anonymous1478603787594974079webdriver-profile/extensions/fxdriver@googlecode.com/resource/modules/atoms.js:277) at <anonymous class>.<anonymous method>(file:///tmp/anonymous1478603787594974079webdriver-profile/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:299) at <anonymous class>.<anonymous method>(file:///tmp/anonymous1478603787594974079webdriver-profile/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:313) at <anonymous class>.<anonymous method>(file:///tmp/anonymous1478603787594974079webdriver-profile/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:190) {noformat}

    XWiki.org JIRA | 6 years ago | CalebJamesDeLisle
    org.openqa.selenium.StaleElementReferenceException: Element is no longer attached to the DOM System info: os.name: 'Linux', os.arch: 'amd64', os.version: '2.6.27.10-grsec-xxxx-grs-ipv4-64', java.version: '1.6.0_25' Driver info: driver.version: RemoteWebDriver

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.openqa.selenium.StaleElementReferenceException

      Element not found in the cache - perhaps the page has changed since it was looked up Command duration or timeout: 60.11 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'pallabs-air.proteincentre.com', ip: '172.16.1.118', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.5', java.version: '1.8.0_92' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=46.0.1, platform=MAC, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 435c3ba8-24b8-164e-8c4f-e5415dd79b22

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    3. Selenium
      RemoteWebElement.getText
      1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
      2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
      3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
      4. org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:327)
      5. org.openqa.selenium.remote.RemoteWebElement.getText(RemoteWebElement.java:179)
      5 frames
    4. extract.data
      ExtractDataDynamic.main
      1. extract.data.ExtractDataDynamic.main(ExtractDataDynamic.java:71)
      1 frame