Break on exception in Chrome using Selenium
问题 In order to investigate some Selenium test failures I would like to automatically enable the pause on exception feature in the Chrome Devtools when running the tests. There is the --auto-open-devtools-for-tabs command line option for automatically opening the DevTools pane which I am already using but apparently there is no CLI option/parameter for the autopause feature I am looking for. What I came across though is the Debugger.setPauseOnExceptions Chrome Devtools Protocol command which I