resolve_leave_dialog
Accepts beforeunload leave dialogs so navigation can proceed; returns immediately when no dialog is present, with a keyboard Enter fallback used only if protocol-based acceptance fails.
Instructions
Resolve an intended beforeunload leave in one bounded workflow: protocol accept twice, return immediately when no dialog exists, then use a lab-only foreground Enter fallback after the normal physical-input approval gate only when protocol handling actually fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||