dismiss
Arm dismissal of the next matching browser dialog
Arm dismissal of the next browser dialog whose message contains the quoted fragment. Must run before the triggering action.
Syntax
When I dismiss "<message-fragment>"Requirements
| Item | Contract |
|---|---|
| Element / control shape | None — arms the next browser dialog for dismiss |
| How the label binds | Message fragment (payload) |
| Qualifiers that change resolve | None |
| Platform | Web |
| Wrong shape → use instead | Same as accept |
See also UI contracts.
Examples
When I dismiss "Session expired"
When I click on "Logout"