org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32000,"message":"Cannot find context with specified id"} (Session info: chrome=51.0.2704.106) (Driver info: chromedriver=2.23.409687 (c46e862757edc04c06b1bd88724d15a5807b84d1),platform=Linux 3.13.0-74-generic x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 624 milliseconds Build info: version: '2.47.1', revision: 'unknown', time: '2015-07-30 11:02:44' System info: host: 'ip-172-31-36-46', ip: '172.31.36.46', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-74-generic', java.version: '1.7.0_101' *** Element info: {Using=id, value=ABC} Session ID: 261ad282e17a0d2d511b4f6e6fd0149c Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=/tmp/.org.chromium.Chromium.7Tpf1F, chromedriverVersion=2.23.409687 (c46e862757edc04c06b1bd88724d15a5807b84d1)}, networkConnectionEnabled=false, rotatable=false, locationContextEnabled=true, mobileEmulationEnabled=false, version=51.0.2704.106, takesHeapSnapshot=true, databaseEnabled=false, cssSelectorsEnabled=true, handlesAlerts=true, browserConnectionEnabled=false, webStorageEnabled=true, nativeEvents=true, hasTouchScreen=false, applicationCacheEnabled=false, takesScreenshot=true}]

GitHub | shashwat51 | 4 months ago
  1. 0

    WebDriver Exception is being thrown in place of NoSuchElementException or TimeoutException for FindElement

    GitHub | 4 months ago | shashwat51
    org.openqa.selenium.WebDriverException: unknown error: unhandled inspector error: {"code":-32000,"message":"Cannot find context with specified id"} (Session info: chrome=51.0.2704.106) (Driver info: chromedriver=2.23.409687 (c46e862757edc04c06b1bd88724d15a5807b84d1),platform=Linux 3.13.0-74-generic x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 624 milliseconds Build info: version: '2.47.1', revision: 'unknown', time: '2015-07-30 11:02:44' System info: host: 'ip-172-31-36-46', ip: '172.31.36.46', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-74-generic', java.version: '1.7.0_101' *** Element info: {Using=id, value=ABC} Session ID: 261ad282e17a0d2d511b4f6e6fd0149c Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=/tmp/.org.chromium.Chromium.7Tpf1F, chromedriverVersion=2.23.409687 (c46e862757edc04c06b1bd88724d15a5807b84d1)}, networkConnectionEnabled=false, rotatable=false, locationContextEnabled=true, mobileEmulationEnabled=false, version=51.0.2704.106, takesHeapSnapshot=true, databaseEnabled=false, cssSelectorsEnabled=true, handlesAlerts=true, browserConnectionEnabled=false, webStorageEnabled=true, nativeEvents=true, hasTouchScreen=false, applicationCacheEnabled=false, takesScreenshot=true}]
  2. 0

    Build failed in Jenkins: Platform-FunctionalTests #55

    Google Groups | 8 months ago | Jenkins
    org.openqa.selenium.WebDriverException: unknown error: session deleted because of page crash from tab crashed (Session info: chrome=47.0.2526.106) (Driver info: chromedriver=2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf),platform=Linux 3.13.0-29-generic x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 180 milliseconds Build info: version: '2.39.0', revision: '14fa800511cc5d66d426e08b0b2ab926c7ed7398', time: '2013-12-16 13:18:38' System info: host: '3d43be742432', ip: '172.17.0.15', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-29-generic', java.version: '1.8.0_60' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={userDataDir=/tmp/.com.google.Chrome.gymod9}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, version=47.0.2526.106, platform=LINUX, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: faa3fb91af0dff3c1b580d1bcc1ea667
  3. 0

    Selenium 3: if Marionette Session gets closed in between tests then the Exception generated doesn't tell connection has been closed or something like that

    GitHub | 6 months ago | abhinav1708
    org.openqa.selenium.WebDriverException: Failed to decode response from marionette (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 19 milliseconds Build info: version: '2.42.2', revision: '75f266f', time: '2014-07-30 09:11:33' System info: host: 'NOI1-CIS616', ip: '192.168.56.1', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_73' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, appBuildId=20160604131506, version=47.0, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, browserVersion=47.0, platformVersion=6.1, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=Firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=Windows_NT, device=desktop}] Session ID: c0018882-0a3a-45f7-8a48-43fca8499b7b **\* Element info: {Using=css selector, value=#username}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue 1800 in selenium: RemoteWebDriver#findElement() can throw WebDriverException

    Google Groups | 6 years ago | sele...@googlecode.com
    org.openqa.selenium.WebDriverException: Connection refused
  6. 0

    Error running testing JS script in setting up Selenium + NodeJS

    Stack Overflow | 2 years ago
    org.openqa.selenium.WebDriverException: unknown error: unable to discover open pages (Driver info: chromedriver=2.2,platform=Linux 3.13.0-44-generic x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 20.67 seconds Build info: version: '2.35.0', revision: 'c916b9d', time: '2013-08-12 15:42:01' System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-44-generic', java.version: '1.7.0_79' Driver info: org.openqa.selenium.chrome.ChromeDriver

  1. andyglick 2 times, last 3 months ago
  2. rp 5 times, last 8 months ago
15 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.WebDriverException

    unknown error: unhandled inspector error: {"code":-32000,"message":"Cannot find context with specified id"} (Session info: chrome=51.0.2704.106) (Driver info: chromedriver=2.23.409687 (c46e862757edc04c06b1bd88724d15a5807b84d1),platform=Linux 3.13.0-74-generic x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 624 milliseconds Build info: version: '2.47.1', revision: 'unknown', time: '2015-07-30 11:02:44' System info: host: 'ip-172-31-36-46', ip: '172.31.36.46', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-74-generic', java.version: '1.7.0_101' *** Element info: {Using=id, value=ABC} Session ID: 261ad282e17a0d2d511b4f6e6fd0149c Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{platform=LINUX, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=/tmp/.org.chromium.Chromium.7Tpf1F, chromedriverVersion=2.23.409687 (c46e862757edc04c06b1bd88724d15a5807b84d1)}, networkConnectionEnabled=false, rotatable=false, locationContextEnabled=true, mobileEmulationEnabled=false, version=51.0.2704.106, takesHeapSnapshot=true, databaseEnabled=false, cssSelectorsEnabled=true, handlesAlerts=true, browserConnectionEnabled=false, webStorageEnabled=true, nativeEvents=true, hasTouchScreen=false, applicationCacheEnabled=false, takesScreenshot=true}]

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
    4 frames
  3. Selenium
    RemoteWebDriver.findElementById
    1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:595)
    4. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
    5. org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:389)
    5 frames
  4. selenium-api
    By$ById.findElement
    1. org.openqa.selenium.By$ById.findElement(By.java:215)
    1 frame
  5. Selenium
    RemoteWebDriver.findElement
    1. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:340)
    1 frame
  6. selenium-support
    FluentWait.until
    1. org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:861)
    2. org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:41)
    3. org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
    4. org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
    5. org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:209)
    5 frames