protractor: "Port 5858 is already in use" when using browser.pause more then once
I have the line browser.pause();
in a beforeEach-function in my Protractor spec and I thought it would act as a breakpoint for me to pause before every it
and check out the browser before continuing with the command d
to continue to the next debugger statement (which should be the beforeEach again). But when Protractor reach beforeEach for the second time I get the error:
Port 5858 is already in use. Please specify another port to debug.
[launcher] Process exited with error code 1
Isn’t this how you’re supposed to use the pause function? What’s purpose of the d
-command if you can’t use browser.pause()
multiple times in the code?
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 24 (8 by maintainers)
+1 It still happened in 4.0.11