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}]

GitHub | Invictum | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    findBy isn't support CSS selectors

    GitHub | 9 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}]
  2. 0

    Frame issues after migrating to Serenity BDD jBehave

    Google Groups | 11 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

    Root Cause Analysis

    1. 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}]

      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.runTestStep(StepInterceptor.java:338)
      2. net.thucydides.core.steps.StepInterceptor.testStepResult(StepInterceptor.java:134)
      3. net.thucydides.core.steps.StepInterceptor.intercept(StepInterceptor.java:61)
      3 frames