Every dialog seen so far, in order.
Starts recording dialogs without changing behaviour.
Attaches only dialogclosed, never dialog, so Playwright keeps
auto-dismissing exactly as it would without Praman. Safe to call
unconditionally; calling it twice is a no-op.
Degrades to no diagnostics below Playwright MIN_DIALOG_CLOSED_VERSION and logs that it did. It does not throw: there is no floor equivalent for watching a dialog without taking responsibility for it, and observation is additive, so silence is the honest degrade rather than denying the caller a working test.
Opts into answering dialogs according to a rule.
The policy to add.
Registers several rules in order.
The policies to add.
Observes and optionally answers native browser dialogs.
Example