Optional ReadonlydismissHow to dismiss the overlay. When omitted the overlay is recorded and reported but never touched.
ReadonlynameStable identifier, used in logs and report attachments.
ReadonlyselectorPlaywright selector locating the overlay. Prefer plain CSS — this is evaluated before every action.
Optional ReadonlytimesMaximum times this rule may fire per test. Defaults to 5.
A rule describing one overlay that may interrupt an action.
Remarks
Omit
dismissto detect and report only — the recommended default. Supplydismissonly when answering the overlay cannot change the meaning of the test.Example