Skip to main content
Accept or dismiss an open JavaScript alert/confirm/prompt/beforeunload dialog. browser_status shows open dialogs.

Parameters

integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
boolean
default:"true"
required
 
string
 

Example