org.openqa.selenium.NoSuchElementException: Element not found or does not exist. 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-1', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-35-generic', java.version: '1.8.0_101' Driver info: driver.version: unknown

GitHub | jonyt | 4 months ago
  1. 0

    NoSuchElement exception when mocking response

    GitHub | 4 months ago | jonyt
    org.openqa.selenium.NoSuchElementException: Element not found or does not exist. 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-1', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-35-generic', java.version: '1.8.0_101' Driver info: driver.version: unknown
  2. 0

    If multiple credentials providers are installed and applicable, the "add" button for credentials doesn't pop up a form right away - instead, there's a dropdown of providers to choose from. So in that scenario, a test that's trying to add credentials will fail like: {code} unableToConnectWrongCredentials(plugins.SshSlavesPluginTest) Time elapsed: 79.733 sec <<< ERROR! org.openqa.selenium.NoSuchElementException: Unable to locate By.xpath: //*[@id='credentials-dialog-form']//*[@path='/'] in http://127.0.0.1:49680/computer/createItem 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: 'ip-10-216-229-216', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-30-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:292) at org.jenkinsci.test.acceptance.junit.Wait.timeoutException(Wait.java:143) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261) at org.jenkinsci.test.acceptance.junit.Wait.until(Wait.java:74) at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.find(CapybaraPortingLayerImpl.java:177) at org.jenkinsci.test.acceptance.po.Control.resolve(Control.java:65) at org.jenkinsci.test.acceptance.po.Control.select(Control.java:222) at org.jenkinsci.test.acceptance.plugins.ssh_credentials.SshCredentialDialog$1.resolve(SshCredentialDialog.java:28) at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl$Resolver.find(CapybaraPortingLayerImpl.java:421) at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.findCaption(CapybaraPortingLayerImpl.java:389) at org.jenkinsci.test.acceptance.plugins.ssh_credentials.SshCredentialDialog.select(SshCredentialDialog.java:25) at org.jenkinsci.test.acceptance.plugins.ssh_slaves.SshSlaveLauncher.pwdCredentials(SshSlaveLauncher.java:57) at plugins.SshSlavesPluginTest.unableToConnectWrongCredentials(SshSlavesPluginTest.java:85) {code}

    Jenkins JIRA | 7 months ago | Andrew Bayer
    org.openqa.selenium.NoSuchElementException: Unable to locate By.xpath: //*[@id='credentials-dialog-form']//*[@path='/'] in http://127.0.0.1:49680/computer/createItem 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: 'ip-10-216-229-216', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-30-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown
  3. 0

    This doesn't seem to be the general Credentials 2.0.6 and later failures - it still fails after the fix for that is in. {code} org.openqa.selenium.NoSuchElementException: Unable to locate By.xpath: //*[@id='credentials-dialog-form']//*[@path='/'] in http://127.0.0.1:62507/computer/createItem 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: 'ip-10-216-229-216', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-30-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:292) at org.jenkinsci.test.acceptance.junit.Wait.timeoutException(Wait.java:143) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261) at org.jenkinsci.test.acceptance.junit.Wait.until(Wait.java:74) at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.find(CapybaraPortingLayerImpl.java:177) at org.jenkinsci.test.acceptance.po.Control.resolve(Control.java:64) at org.jenkinsci.test.acceptance.po.Control.select(Control.java:185) at org.jenkinsci.test.acceptance.plugins.ssh_credentials.SshCredentialDialog$1.resolve(SshCredentialDialog.java:28) at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl$Resolver.find(CapybaraPortingLayerImpl.java:421) at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.findCaption(CapybaraPortingLayerImpl.java:389) at org.jenkinsci.test.acceptance.plugins.ssh_credentials.SshCredentialDialog.select(SshCredentialDialog.java:25) at org.jenkinsci.test.acceptance.docker.fixtures.XvncSlaveContainer.connect(XvncSlaveContainer.java:54) at plugins.XvncPluginTest.setUp(XvncPluginTest.java:31) {code}

    Jenkins JIRA | 7 months ago | Andrew Bayer
    org.openqa.selenium.NoSuchElementException: Unable to locate By.xpath: //*[@id='credentials-dialog-form']//*[@path='/'] in http://127.0.0.1:62507/computer/createItem 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: 'ip-10-216-229-216', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-30-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Difficult to run the script in selenium webdriver which contains HtmlUnitDriver

    Stack Overflow | 6 months ago | sandeep kumar
    org.openqa.selenium.NoSuchElementException: Returned node was not a DOM element 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: 'user-PC', ip: '192.168.1.52', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_51' Driver info: driver.version: SampleUnitDriver
  6. 0

    testbench on linux/firefox does not find menubar: NoSuchElementException

    GitHub | 2 years ago | vaadin-bot
    org.openqa.selenium.NoSuchElementException: Vaadin could not find elements with selector (//com.vaadin.ui.MenuBar[id="menu"])[0] For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.43.1', revision: '5163bceef1bc36d43f3dc0b83c88998168a363a0', time: '2014-09-10 09:43:55' System info: host: 'rei-wt', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.16.0-30-generic', java.version: '1.8.0_40-internal' Driver info: driver.version: unknown

    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.NoSuchElementException

      Element not found or does not exist. 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-1', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-35-generic', java.version: '1.8.0_101' Driver info: driver.version: unknown

      at com.machinepublishers.jbrowserdriver.ElementServer.validate()
    2. com.machinepublishers.jbrowserdriver
      AppThread$Runner.run
      1. com.machinepublishers.jbrowserdriver.ElementServer.validate(ElementServer.java:202)
      2. com.machinepublishers.jbrowserdriver.ElementServer.access$000(ElementServer.java:62)
      3. com.machinepublishers.jbrowserdriver.ElementServer$1.perform(ElementServer.java:138)
      4. com.machinepublishers.jbrowserdriver.AppThread$Runner.run(AppThread.java:94)
      4 frames
    3. com.sun.javafx
      PlatformImpl.lambda$null$173
      1. com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
      1 frame
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. com.sun.javafx
      PlatformImpl.lambda$runLater$174
      1. com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
      1 frame
    6. com.machinepublishers.glass
      RunnableProcessor.run
      1. com.machinepublishers.glass.ui.monocle.RunnableProcessor.runLoop(RunnableProcessor.java:94)
      2. com.machinepublishers.glass.ui.monocle.RunnableProcessor.run(RunnableProcessor.java:53)
      2 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame