Debugger
API for controlling the Playwright debugger. The debugger allows pausing script execution and inspecting the page. Obtain the debugger instance via browserContext.debugger.
Methods
next
Added in: v1.59Resumes script execution and pauses again before the next action. Throws if the debugger is not paused.
Usage
await debugger.next();
Returns
pausedDetails
Added in: v1.59Returns details about the currently paused call. Returns null if the debugger is not paused.
Usage
debugger.pausedDetails();
Returns