org.openqa.selenium.NoSuchElementException: Unable to find element with id == username (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 15.22 seconds For documentation on this error, please visit: /seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.43.0', revision: '597b76b', time: '2014-09-09 20:52:14' System info: host: 'AJITKUMAR-PC', ip: '192.168.1.5', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_20' Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{browserAttachTimeout=0, enablePersistentHover=true, ie.forceCreateProcessApi=false, 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, takesScreenshot=true, javascriptEnabled=true, ignoreProtectedModeSettings=false, enableElementCacheCleanup=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=dismiss}] Session ID: 892cecb0-ba03-48f6-a29e-7eb7c56da813

Stack Overflow | shilpa patil | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 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}]
  2. 0

    Unable to find element with id : Issue only when executing on IE. Works fine for Firefox

    Stack Overflow | 2 years ago | shilpa patil
    org.openqa.selenium.NoSuchElementException: Unable to find element with id == username (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 15.22 seconds For documentation on this error, please visit: /seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.43.0', revision: '597b76b', time: '2014-09-09 20:52:14' System info: host: 'AJITKUMAR-PC', ip: '192.168.1.5', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_20' Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{browserAttachTimeout=0, enablePersistentHover=true, ie.forceCreateProcessApi=false, 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, takesScreenshot=true, javascriptEnabled=true, ignoreProtectedModeSettings=false, enableElementCacheCleanup=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=dismiss}] Session ID: 892cecb0-ba03-48f6-a29e-7eb7c56da813
  3. 0

    Hello guys, I'm need help to solve a problem. When I try to run a script for internet explorer I'm a

    Google Groups | 6 months ago | Unknown author
    org.openqa.selenium.NoSuchElementException: Unable to find element with name == q (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 20.11 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: 'DuarteFerreira', ip: '192.168.21.81', 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, ie.enableFullPageScreenshot=true, enablePersistentHover=true, ie.forceCreateProcessApi=false, ie.forceShellWindowsApi=false, pageLoadStrategy=normal, ignoreZoomSetting=false, ie.fileUploadDialogTimeout=3000, version=10, platform=WINDOWS, proxy={proxyType=}, nativeEvents=true, ie.ensureCleanSession=false, elementScrollBehavior=0, ie.browserCommandLineSwitches=, requireWindowFocus=false, browserName=internet explorer, initialBrowserUrl=http://localhost:35459/, javascriptEnabled=true, ignoreProtectedModeSettings=false, enableElementCacheCleanup=true, unexpectedAlertBehaviour=dismiss}] Session ID: 11e89306-d998-4b18-a0c0-b66417d484db *** Element info: {Using=name, value=q}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Exception in thread "main" org.openqa.selenium.InvalidSelectorException:

    GitHub | 2 months ago | Anithamq
    org.openqa.selenium.InvalidSelectorException: The xpath expression '//*[contains(@href,'javascript:void(0)')])[5]' cannot be evaluated or does notresult in a WebElement (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 93 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:55:52' System info: host: 'lenovo-PC', ip: '192.168.0.21', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65' 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=9, platform=WINDOWS, nativeEvents=true, ie.ensureCleanSession=false, elementScrollBehavior=0, ie.browserCommandLineSwitches=, requireWindowFocus=false, browserName=internet explorer, initialBrowserUrl=http://localhost:42843/, takesScreenshot=true, javascriptEnabled=true, ignoreProtectedModeSettings=false, enableElementCacheCleanup=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=dismiss}] Session ID: 3a3aeacd-4d01-43ed-9e38-fd0dc081da63 *** Element info: {Using=xpath, value=//*[contains(@href,'javascript:void(0)')])[5]}
  6. 0

    Issue 8727 in selenium: element with CSS selector not able to find only in IE11, which is installed windows server 2008 R2. In local machine's IE11 with windows 7 server, It is working fine without any issues.

    Google Groups | 1 year ago | Unknown author
    org.openqa.selenium.NoSuchWindowException: Unable to find element on closed window (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 4 milliseconds Build info: version: '2.42.2', revision: '6a6995d31c7c56c340d6f45a76976d43506cd6cc', time: '2014-06-03 10:52:47' System info: host: 'BWD0104270039', ip: '10.54.8.244', os.name: 'Windows Server 2008 R2', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_45' Session ID: 124db5e2-dc4e-44bc-9a78-c2a103e587e2 Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{platform=WINDOWS, javascriptEnabled=true, elementScrollBehavior=0, enablePersistentHover=true, ignoreZoomSetting=false, ie.ensureCleanSession=false, browserName=internet explorer, enableElementCacheCleanup=true, unexpectedAlertBehaviour=dismiss, version=11, ie.usePerProcessProxy=true, cssSelectorsEnabled=true, ignoreProtectedModeSettings=false, requireWindowFocus=false, handlesAlerts=true, initialBrowserUrl=http://localhost:42254/, ie.forceCreateProcessApi=false, nativeEvents=true, proxy={httpProxy=localhost:50947, proxyType=manual}, browserAttachTimeout=0, ie.browserCommandLineSwitches=, takesScreenshot=true}]

  1. pnaranja 1 times, last 7 months ago
  2. raytest 2 times, last 4 weeks ago
10 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.NoSuchElementException

    Unable to find element with id == username (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 15.22 seconds For documentation on this error, please visit: /seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.43.0', revision: '597b76b', time: '2014-09-09 20:52:14' System info: host: 'AJITKUMAR-PC', ip: '192.168.1.5', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_20' Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{browserAttachTimeout=0, enablePersistentHover=true, ie.forceCreateProcessApi=false, 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, takesScreenshot=true, javascriptEnabled=true, ignoreProtectedModeSettings=false, enableElementCacheCleanup=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=dismiss}] Session ID: 892cecb0-ba03-48f6-a29e-7eb7c56da813

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  3. Selenium
    RemoteWebDriver.findElementById
    1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
    2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
    3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
    4. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:352)
    5. org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:393)
    5 frames
  4. selenium-api
    By$ById.findElement
    1. org.openqa.selenium.By$ById.findElement(By.java:214)
    1 frame
  5. Selenium
    RemoteWebDriver.findElement
    1. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:344)
    1 frame
  6. ie
    ieproject.main
    1. ie.ieproject.main(ieproject.java:28)
    1 frame