GoLess
  • Basics
    • Recording Actions
    • Adding workflow manually
    • Tutorial: Scraping data
  • Workflow
    • Customization
    • Blocks
    • Global Data
    • Variables
    • Element Selector
    • Expressions
    • Workflow Table
    • Looping
    • Google Drive
  • Blocks
    • General
      • Note Block
      • Trigger Block
      • Execute Workflow Block
      • Delay Block
      • Export Data Block
      • HTTP Request Block
      • Blocks Group
      • Clipboard Block
      • Wait Connections Block
      • Notification Block
      • Workflow State
      • Parameter Prompt Block
    • Browser
      • Active Tab Block
      • New Tab Block
      • Switch Tab Block
      • New Window Block
      • Proxy Block
      • Go Back Block
      • Go Forward Block
      • Close Tab/Window Block
      • Take Screenshot Block
      • Browser Event Block
      • Handle Download Block
      • Handle Dialog Block
      • Reload Tab Block
      • Get Tab URL Block
      • Cookie Block
    • Web Interaction
      • Click Element Block
      • Get Text Block
      • Scroll Element Block
      • Link Block
      • Attribute Value Block
      • Forms Block
      • Javascript Code Block
      • Trigger Event Block
      • Switch Frame Block
      • Upload File Block
      • Hover Element Block
      • Save Assets Block
      • Press Key Block
      • Create Element Block
    • Control Flow
      • Repeat Task Block
      • Conditions Block
      • Element Exists Block
      • While Loop Block
      • Loop Data Block
      • Loop Elements Block
      • Loop Breakpoint
    • Data
      • Insert Data Block
      • Delete Data Block
      • Get Log Data Block
      • Slice Variable Block
      • Increase Variable Block
      • RegEx Variable Block
      • Data Mapping Block
      • Sort Data Block
    • Оnline Services
      • Google Sheets Block
    • Premium
      • ChatGPT Block
      • Captcha Block
  • REFERENCE
    • Logs
    • Schedule
    • Storage
    • Packages
    • Condition Builder
    • Workflow Common Errors
    • JavaScript Execution Context
Powered by GitBook
On this page
  1. Blocks
  2. Browser

Switch Tab Block

Switch between tab

PreviousNew Tab BlockNextNew Window Block

Last updated 1 year ago

The Switch Tab block allows you to switch to a specific browser tab. The following settings are available for searching and switching to the tab:

  • Match Patterns. The tab is searched by a template. For example, a Switch Tab block with a template https://google.com /* switches to the tab with the site open in it google.com . More template examples are available on the . his setting has several sub-items:

  1. Create if there's no match. If a template tab is not found, a new tab is created.

  2. Set as active tab. This setting allows the browser to switch to a newly created tab, as a person does to view a site page.

  • Tab title. Switch to the tab by the tab title. This setting has several sub-items as in the previous setting.

  • Next Tab. Go to the next tab of the active tab. Can be set as an active tab.

  • Previous Tab. Go to the previous tab of the active tab. Can be set as an active tab

  • Tab Index. Proceed to the tab based on its index position. For instance, assume that four tabs are opened (Google, GitHub, Chess, and Microsoft). Then, if you need to open the Google tab, you can enter 0. For the GitHub tab, enter 1, etc.

MDN Page