Starting with v2.3.0, Nightwatch presents a more powerful test script debugging experience. It includes an updated
.pause() command (without any breaking changes) and a new
Updated .pause() command
.pause() command now provides the ability to resume paused tests on-demand while debugging. In addition, users can also step over to the next test step (execute the next test step) and pause again.
New .debug() command
.debug() command provides a REPL interface where users can try out any of the available Nightwatch commands or assertions and see them get executed in the running browser, in real-time.