Chrome Developer Tools closes instantly when attempting to debug WebDriver E2E test Chrome Developer Tools closes instantly when attempting to debug WebDriver E2E test selenium selenium

Chrome Developer Tools closes instantly when attempting to debug WebDriver E2E test


Chrome isn't doing this; ChromeDriver 2 is. ChromeDriver 2 and the DevTools windows both compete for the same automation channel, and ChromeDriver automatically closes the DevTools window in order for it to work.

See https://sites.google.com/a/chromium.org/chromedriver/help/devtools-window-keeps-closing for more info

Also see the related issue: https://code.google.com/p/chromedriver/issues/detail?id=483