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.

  • 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,
  • How to Avoid TimeOut Exceptions?
    via by saorabh singh,
  • GitHub comment 393#214745767
    via GitHub by wakaleo
    ,
    • org.openqa.selenium.WebDriverException: Error: Permission denied to access property "name" (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 10 milliseconds Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58' System info: host: 'PS-E7450', ip: '192.168.2.63', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_74' Driver info: org.openqa.selenium.firefox.MarionetteDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, count=1, webdriver.gecko.driver=/tools/gecko, appBuildId=20160623154057, version=47.0.1, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, browserVersion=47.0.1, platformVersion=10.0, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=Firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=Windows_NT, device=desktop}] Session ID: 3581dc95-c899-4d58-92cf-a8172078f721 at sun.reflect.GeneratedConstructorAccessor9.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) 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.executeScript(RemoteWebDriver.java:575) at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:103) at com.sun.proxy.$Proxy1.executeScript(Unknown Source) at org.openqa.selenium.support.events.EventFiringWebDriver.executeScript(EventFiringWebDriver.java:217) at org.openqa.selenium.remote.server.handler.ExecuteScript.call(ExecuteScript.java:56) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    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,
    PilleoPilleo
    22 times, last one,
    raytestraytest
    2 times, last one,
    18 more bugmates