How to resume work from the debugger without interrupting the entire test in the protractor?

I am writing a test using a protractor. I can enter the debugger if I put the following code into my tests:

browser.pause();

However, I cannot exit the debugger and resume the test. According to this documentation :

When you are done debugging, exit by pressing Ctrl-C. Your tests will continue where they left off using the same browser.

Actually, even the debugger itself tells me the same thing when it pauses:

------- WebDriver Debugger -------
 ready

press c to continue to the next webdriver command
press d to continue to the next debugger statement
type "repl" to enter interactive mode
type "exit" to break out of interactive mode
press ^C to exit

That sounds good, but when I try Ctrl-C, it aborts the whole test. What am I doing wrong?

I run a protractor test using grunt-protractor-runner@1.2.1 on Windows 7.

+4
source share
1

,

d,

, ( "d" ) .

: press d , "d" 'Enter'

+4

All Articles