org.openqa.selenium.NoSuchElementException: {"errorMessage":"Unable to find element with id 'DC_Login_UserName_Text'","request":{"headers": {"Accept":"application/json, image/png","Connection":"Keep-Alive","Content-Length":"47","Content-Type":"application/json; charset=utf-8","Host":"localhost:44783"},"httpVersion":"1.1","method":"POST","post":"{\"using\":\"id\",\"value\":\"DC_Login_UserName_Text\"}","url":"/element","urlParsed":{"anchor":"","query":"","file":"element","directory":"/","path":"/element","relative":"/element","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/element","queryKey":{},"chunks":["element"]},"urlOriginal":"/session/f0d9c420-7fcf-11e6-aeb2-b7cbd59c9ab0/element"}} Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver Capabilities [{platform=XP, acceptSslCerts=false, javascriptEnabled=true, browserName=phantomjs, rotatable=false, driverVersion=1.1.0, locationContextEnabled=false, version=1.9.7, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=false, browserConnectionEnabled=false, webStorageEnabled=false, nativeEvents=true, proxy={proxyType=direct}, applicationCacheEnabled=false, driverName=ghostdriver, takesScreenshot=true}]

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    phantomJs is unable to find the dom elements with vaadin and selenium

    Stack Overflow | 5 months ago | Suneil Narasimhamurthy
    org.openqa.selenium.NoSuchElementException: {"errorMessage":"Unable to find element with id 'DC_Login_UserName_Text'","request":{"headers": {"Accept":"application/json, image/png","Connection":"Keep-Alive","Content-Length":"47","Content-Type":"application/json; charset=utf-8","Host":"localhost:44783"},"httpVersion":"1.1","method":"POST","post":"{\"using\":\"id\",\"value\":\"DC_Login_UserName_Text\"}","url":"/element","urlParsed":{"anchor":"","query":"","file":"element","directory":"/","path":"/element","relative":"/element","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/element","queryKey":{},"chunks":["element"]},"urlOriginal":"/session/f0d9c420-7fcf-11e6-aeb2-b7cbd59c9ab0/element"}} Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver Capabilities [{platform=XP, acceptSslCerts=false, javascriptEnabled=true, browserName=phantomjs, rotatable=false, driverVersion=1.1.0, locationContextEnabled=false, version=1.9.7, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=false, browserConnectionEnabled=false, webStorageEnabled=false, nativeEvents=true, proxy={proxyType=direct}, applicationCacheEnabled=false, driverName=ghostdriver, takesScreenshot=true}]
  2. 0

    Issue playing back steps in Interpreter

    GitHub | 3 years ago | Zarkonnen
    org.openqa.selenium.NoSuchElementException: Unable to find element with css selector == #CheckBox10 > label (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 15.10 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.41.0', revision: '3192d8a', time: '2014-03-27 17:17:32' System info: host: 'l77485', ip: '10.23.14.17', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_45' Session ID: eab2a29c-b79d-4415-8fba-1c02e6a60fda Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{platform=WINDOWS, javascriptEnabled=true, elementScrollBehavior=0, ignoreZoomSetting=false, enablePersistentHover=true, ie.ensureCleanSession=false, browserName=internet explorer, enableElementCacheCleanup=true, unexpectedAlertBehaviour=dismiss, version=9, ie.usePerProcessProxy=false, cssSelectorsEnabled=true, ignoreProtectedModeSettings=false, requireWindowFocus=false, handlesAlerts=true, initialBrowserUrl=http://localhost:11952/, ie.forceCreateProcessApi=false, nativeEvents=true, browserAttachTimeout=0, ie.browserCommandLineSwitches=, takesScreenshot=true}]

    Root Cause Analysis

    1. org.openqa.selenium.NoSuchElementException

      {"errorMessage":"Unable to find element with id 'DC_Login_UserName_Text'","request":{"headers": {"Accept":"application/json, image/png","Connection":"Keep-Alive","Content-Length":"47","Content-Type":"application/json; charset=utf-8","Host":"localhost:44783"},"httpVersion":"1.1","method":"POST","post":"{\"using\":\"id\",\"value\":\"DC_Login_UserName_Text\"}","url":"/element","urlParsed":{"anchor":"","query":"","file":"element","directory":"/","path":"/element","relative":"/element","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/element","queryKey":{},"chunks":["element"]},"urlOriginal":"/session/f0d9c420-7fcf-11e6-aeb2-b7cbd59c9ab0/element"}} Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver Capabilities [{platform=XP, acceptSslCerts=false, javascriptEnabled=true, browserName=phantomjs, rotatable=false, driverVersion=1.1.0, locationContextEnabled=false, version=1.9.7, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=false, browserConnectionEnabled=false, webStorageEnabled=false, nativeEvents=true, proxy={proxyType=direct}, applicationCacheEnabled=false, driverName=ghostdriver, takesScreenshot=true}]

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      NativeConstructorAccessorImpl.newInstance0
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      1 frame