net.serenitybdd.core.exceptions.SerenityManagedException: Element belongs to a different frame than the current one - switch to its containing frame to use it Command duration or timeout: 15.11 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'xx', ip: '10.xxx.xxx.xx', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-229.1.2.el7.x86_64', java.version: '1.8.0_66' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=46.0.1, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: bc102c91-ffac-41a4-aa1f-633067acddfb

Google Groups | Martin Aas Andersen | 12 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Frame issues after migrating to Serenity BDD jBehave

    Google Groups | 12 months ago | Martin Aas Andersen
    net.serenitybdd.core.exceptions.SerenityManagedException: Element belongs to a different frame than the current one - switch to its containing frame to use it Command duration or timeout: 15.11 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'xx', ip: '10.xxx.xxx.xx', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-229.1.2.el7.x86_64', java.version: '1.8.0_66' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=46.0.1, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: bc102c91-ffac-41a4-aa1f-633067acddfb
  2. 0

    findBy isn't support CSS selectors

    GitHub | 10 months ago | Invictum
    net.serenitybdd.core.exceptions.SerenityManagedException: Unable to locate element: {"method":"xpath","selector":"a.js-password-forgotten"} Command duration or timeout: 30.03 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'host', ip: '8.8.8.8', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.5', java.version: '1.7.0_79' *** Element info: {Using=xpath, value=a.js-password-forgotten} Session ID: 6f602b50-1931-a44d-b704-0ca6bfe26238 Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{platform=MAC, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=45.0.1}]

    Root Cause Analysis

    1. net.serenitybdd.core.exceptions.SerenityManagedException

      Element belongs to a different frame than the current one - switch to its containing frame to use it Command duration or timeout: 15.11 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'xx', ip: '10.xxx.xxx.xx', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-229.1.2.el7.x86_64', java.version: '1.8.0_66' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=46.0.1, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: bc102c91-ffac-41a4-aa1f-633067acddfb

      at net.serenitybdd.core.exceptions.SerenityManagedException.detachedCopyOf()
    2. net.serenitybdd.core
      SerenityManagedException.detachedCopyOf
      1. net.serenitybdd.core.exceptions.SerenityManagedException.detachedCopyOf(SerenityManagedException.java:20)
      1 frame
    3. thucydides-core
      StepInterceptor.intercept
      1. net.thucydides.core.steps.StepInterceptor.reportMethodError(StepInterceptor.java:281)
      2. net.thucydides.core.steps.NormalMethodRunner.invokeMethodAndNotifyFailures(NormalMethodRunner.java:22)
      3. net.thucydides.core.steps.StepInterceptor.runNormalMethod(StepInterceptor.java:269)
      4. net.thucydides.core.steps.StepInterceptor.testStepResult(StepInterceptor.java:127)
      5. net.thucydides.core.steps.StepInterceptor.intercept(StepInterceptor.java:61)
      5 frames
    4. org.TeamOnline.jbehave
      ResponseTimesDefinitionSteps.givenTheUserFiltersFor3DaysAndTitle
      1. org.TeamOnline.jbehave.steps.ResponseTimesUserSteps$$EnhancerByCGLIB$$2b7019e.chooses_last_3_days(<generated>)
      2. org.TeamOnline.jbehave.definitions.ResponseTimesDefinitionSteps.givenTheUserFiltersFor3DaysAndTitle(ResponseTimesDefinitionSteps.java:83)
      2 frames