Overview

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 .debug() command.

Updated .pause() command

The .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

The new .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.