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

后端 未结 1 1041
渐次进展
渐次进展 2020-12-17 16:18

I usually debug my Selenium tests in Chrome\'s dev tools panel. However, after upgrading my OS (Ubuntu Linux), my E2E tests broke completely: Chrome didn\'t open the first p

相关标签:
1条回答
  • 2020-12-17 16:38

    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

    0 讨论(0)
提交回复
热议问题