A tab is open
Passes when a tab that matches is open, active, loading, playing sound or pinned.
A tab is state
Details #
Looks at every tab of the connected browsers. state is open (the default), active, loading, audible or pinned.
Parameters #
| Parameter | Type | Required | Values | What it does |
|---|---|---|---|---|
match | record | browser title url | Which tabs. | |
sample | any value | |||
state | one of | open active loading audible pinned | open, active, loading, audible or pinned. |
Examples #
Open Mail only if it isn't already open
Do
- If it isn't true that a tab on mail.example.com is open
- Open mail.example.com
- Else
Gotchas #
Private windows are left out unless Settings ▸ Browsers allows them.