org.openqa.selenium.WebDriverException

A JavaScript error was encountered execu ting the findElement atom. (WARNING: The server did not provide any stacktrace i nformation) Command duration or timeout: 23 milliseconds Build info: version: '2.50.1', revision: 'd7fc91b', time: '2016-01-29 19:08:26' System info: host: 'WSUNJAPATEL7', ip: '192.168.236.247', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_75' *** Element info: {Using=xpath, value=//a[contains(@class,'cart-btn')]} Session ID: 617e306f-7168-47e8-abc6-ba1541c9f801 Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{platform=WINDOWS, javascriptEnabled=true, elementScrollBehavior=0 , ignoreZoomSetting=false, enablePersistentHover=true, ie.ensureCleanSession=fal se, browserName=internet explorer, enableElementCacheCleanup=true, unexpectedAle rtBehaviour=dismiss, version=10, pageLoadStrategy=normal, ie.usePerProcessProxy= false, cssSelectorsEnabled=true, ignoreProtectedModeSettings=false, requireWindo wFocus=false, initialBrowserUrl=http://localhost:7966/, handlesAlerts=true, ie.f orceCreateProcessApi=false, nativeEvents=true, browserAttachTimeout=0, ie.browse rCommandLineSwitches=, takesScreenshot=true}]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web839

  • A JavaScript error was encountered execu ting the findElement atom. (WARNING: The server did not provide any stacktrace i nformation) Command duration or timeout: 23 milliseconds Build info: version: '2.50.1', revision: 'd7fc91b', time: '2016-01-29
  • A JavaScript error was encountered executing the findElement atom. (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 46 milliseconds Build info: version: '2.50.1', revision: 'd7fc91b', time: '2016-01-29 19
  • via Stack Overflow by diazazar
    , 7 months ago
    JavaScript error (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 125 milliseconds Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18 17:14:00' System info: host: 'seleniumRC', ip
  • Stack trace

    • org.openqa.selenium.WebDriverException: A JavaScript error was encountered execu ting the findElement atom. (WARNING: The server did not provide any stacktrace i nformation) Command duration or timeout: 23 milliseconds Build info: version: '2.50.1', revision: 'd7fc91b', time: '2016-01-29 19:08:26' System info: host: 'WSUNJAPATEL7', ip: '192.168.236.247', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_75' *** Element info: {Using=xpath, value=//a[contains(@class,'cart-btn')]} Session ID: 617e306f-7168-47e8-abc6-ba1541c9f801 Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{platform=WINDOWS, javascriptEnabled=true, elementScrollBehavior=0 , ignoreZoomSetting=false, enablePersistentHover=true, ie.ensureCleanSession=fal se, browserName=internet explorer, enableElementCacheCleanup=true, unexpectedAle rtBehaviour=dismiss, version=10, pageLoadStrategy=normal, ie.usePerProcessProxy= false, cssSelectorsEnabled=true, ignoreProtectedModeSettings=false, requireWindo wFocus=false, initialBrowserUrl=http://localhost:7966/, handlesAlerts=true, ie.f orceCreateProcessApi=false, nativeEvents=true, browserAttachTimeout=0, ie.browse rCommandLineSwitches=, takesScreenshot=true}] at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678) at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363) at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:500) at org.openqa.selenium.By$ByXPath.findElement(By.java:361) at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355) at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:103) at com.sun.proxy.$Proxy1.findElement(Unknown Source) at org.openqa.selenium.support.events.EventFiringWebDriver.findElement(EventFiringWebDriver.java:188) at org.openqa.selenium.remote.server.handler.FindElement.call(FindElement.java:48) at org.openqa.selenium.remote.server.handler.FindElement.call(FindElement.java:1) at java.util.concurrent.FutureTask.run(Unknown Source) at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    984 times, 15 hours ago
    16 times, 4 days ago
    Once, 3 months ago
    Once, 4 months ago
    Unknown user
    Once, 4 months ago
    18 more bugmates