org.openqa.selenium.WebDriverException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • How to Avoid TimeOut Exceptions?
    via by saorabh singh,
  • GitHub comment 393#214745767
    via GitHub by wakaleo
    ,
  • Ashot is not working at all!
    via GitHub by tlytvyn
    ,
  • 1) CompressingArtifactManager::setup() firstly deletes the existing using config.clearArtifactManagers(); 2) This method infinitely clicks on the delete button while NoSuchElementException does not happen 3) The first deletion succeeds 4) On the second we get the following error: {noformat} org.openqa.selenium.WebDriverException: e is undefined Command duration or timeout: 111 milliseconds Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06' System info: host: 'jenkins', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-71-generic', java.version: '1.8.0_40' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=22.0, platform=LINUX, browserConnectionEnabled=true, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 1ddad741-541f-410d-be56-eacd0a08a5b2 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:422) 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:647) at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:556) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:102) at com.sun.proxy.$Proxy31.executeScript(Unknown Source) at org.jenkinsci.test.acceptance.selenium.Scroller.scrollIntoView(Scroller.java:81) at org.jenkinsci.test.acceptance.selenium.Scroller.beforeClickOn(Scroller.java:72) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.openqa.selenium.support.events.EventFiringWebDriver$1.invoke(EventFiringWebDriver.java:79) at com.sun.proxy.$Proxy30.beforeClickOn(Unknown Source) at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement.click(EventFiringWebDriver.java:346) at org.jenkinsci.test.acceptance.po.Control.click(Control.java:90) at org.jenkinsci.test.acceptance.po.ArtifactManagement.clear(ArtifactManagement.java:50) at org.jenkinsci.test.acceptance.po.JenkinsConfig.clearArtifactManagers(JenkinsConfig.java:58) at org.jenkinsci.test.acceptance.plugins.compress_artifacts.CompressingArtifactManager.setup(CompressingArtifactManager.java:42) at plugins.CompressArtifactsPluginTest.archiveMavenProject(CompressArtifactsPluginTest.java:127) Caused by: org.openqa.selenium.WebDriverException: e is undefined Build info: version: '2.48.2', revision: '41bccdd10cf2c0560f637404c2d96164b67d9d67', time: '2015-10-09 13:08:06' System info: host: 'jenkins', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-71-generic', java.version: '1.8.0_40' Driver info: driver.version: unknown at <anonymous class>.anonymous(http://127.0.0.1:50319/configure:73) at <anonymous class>.handleEvaluateEvent(http://127.0.0.1:50319/configure:68) {noformat} So JS error happens instead of NoSuchElement. It's most likely caused by the missing check before JS invocation.
    via by Oleg Nenashev,
    • org.openqa.selenium.WebDriverException: JavaScript error (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 46 milliseconds Build info: version: 'unknown', revision: 'unknown', time: 'unknown' System info: host: 'DTA01-3F-ITD12', ip: '192.168.214.53', os.name: 'Windows XP' , os.arch: 'x86', os.version: '5.1', java.version: '1.7.0_51' Session ID: 3b9bdf76-9fc2-42ed-9010-24c4748bbe53 Driver info: org.openqa.selenium.ie.InternetExplorerDriver Capabilities [{platform=WINDOWS, javascriptEnabled=true, elementScrollBehavior=0 , ignoreZoomSetting=true, enablePersistentHover=true, ie.ensureCleanSession=fals e, browserName=internet explorer, enableElementCacheCleanup=true, unexpectedAler tBehaviour=dismiss, version=8, ie.usePerProcessProxy=false, cssSelectorsEnabled= true, ignoreProtectedModeSettings=true, requireWindowFocus=false, handlesAlerts= true, initialBrowserUrl=https://www.himalremit.com
    • ewpcregistration.php, ie.for ceCreateProcessApi=false, nativeEvents=true, browserAttachTimeout=0, ie.browserC ommandLineSwitches=, takesScreenshot=true}] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.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:193) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:573) at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:482) at hbl.remit.com.Browser.main(Browser.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    18 more bugmates