ReadonlyactionWhether to accept or dismiss.
ReadonlynameStable identifier, used in logs and records.
Optional ReadonlypromptText supplied when accepting a prompt. Ignored for other types.
Optional ReadonlytimesMaximum times this rule may fire per test. Defaults to 5.
ReadonlytypesDialog types this rule answers. Must not be empty.
A policy for answering one kind of native dialog.
Example