# Browser Event Block

<figure><img src="https://742850480-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fmtnl2J19CnNVA5fLFAPs%2Fuploads%2Fnf0WwpYpK7f8QsJyjouk%2FBrowser%20event.jpg?alt=media&#x26;token=76304ee2-b767-4ff0-a4fe-751e5c8be6e0" alt=""><figcaption></figcaption></figure>

Await the triggering of the selected event before running the next block.

* **Timeout (milliseconds)**\
  Set the workflow timeout for the selected event (by default, it is 10000ms - 10 seconds). After the time is up, the workflow continues to execute the block.
* **Events.** An event you would like the workflow to await.
  * **Tab closed.** Wait until a tab has closed.
  * **Tab loaded.** Wait for the current tab or the tab that the URL matches the [match patterns](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns#examples) to be loaded.
  * **Tab/Window created.** Wait for a new tab/window to be created. A filter is provided for this setting.
    * **Filter.** Filter the URL for the new tab or window. If the URL matches the URL or Regex you entered, the workflow will keep running the blocks.
    * **Active tab.** Define the created tab or window as the current tab.
  * **Window closed.** The event occurs when the window closes.
