accept
Arm acceptance of the next matching browser dialog
Arm the next browser dialog whose message contains the quoted fragment, then run the step that opens it. Must run before the triggering action.
Syntax
When I accept "<message-fragment>"Examples
When I accept "Are you sure?"
When I click on "Delete"Notes
- The quoted string is a payload fragment match against the dialog message.
- Pair with dismiss for cancel / dismiss flows.