intellj auto closing the browser when I stop execution in debug mode
Answered
I am executing my test in debug mode to reach the desired browser window. I need to stop intellj and then capture some details from the open window. I also want to stop Intellij as I wanna be bale to attach to the already opened browser with newly captured details. But as soon as I stop Intellij, it auto closes the browser window.
Please sign in to leave a comment.
When you terminate the debugger, the process which starts the browser is also terminated. WebDriver probably has a special handler which also closes the browser when it dies. This is not IntelliJ IDEA specific issue and cannot be addressed in the IDE.
https://stackoverflow.com/questions/59953066/intellij-closing-browser-when-i-manually-stop-execution