Skip to main content
DemoZalo 0862020654

Browser

Switch Tab

Switch to a different browser tab

Block type: switch-tab

The Switch Tab block’s settings panel in the workflow editor.
The block’s settings, as they appear in the editor.

Inputs

NameTypeDefaultDescription
disableBlockbooleanfalseDisable this block
descriptionstring—Node description
findTabByselectmatch-patternsFind tab by

Example: match-patterns

match-patternstab-titletab-index
urlstring—URL match pattern
matchPatternstring—URL match pattern
tabTitlestring—Tab title to match
tabIndexnumber0Tab index (0-based)
createIfNoMatchbooleanfalseCreate new tab if no match
activeTabbooleantrueSet as active tab

Outputs

  • currentUrlstring

    URL of the tab switched to