BNOD

← All templates
tabsmulti-tabsnapshoth1

Open 3 tabs, capture each page H1

Open three URLs in separate new tabs, capture each page's H1 text into the log. Tabs stay open so you can keep working.

Install in BNOD

Install in BNOD

Opens BNOD sidepanel with this template installed. Requires BNOD extension.

You want a quick scan of what's on the top of a handful of pages — three news sites, three blog feeds, three internal dashboards — without manually tabbing through each one. This template opens three URLs in separate tabs, captures the <h1> from each, and logs the results. Tabs stay open afterward so you can keep working with them. Common users: ops engineers checking dashboard headlines, content strategists doing a morning sweep, or researchers tracking how related articles frame the same topic.

How this workflow works

Nine blocks. The structure repeats: open tab → wait → grab H1 → log. The template ships with two repeats (example.com and example.org); the third repeat is implied by the pattern — duplicate the four blocks and change the URL to add it.

  1. manual_trigger — Sidepanel Run. targetTab: "new" opens a fresh tab as the starting context.
  2. new_tab — Opens https://example.com in a fresh tab. Unlike navigate, which replaces the current page, new_tab creates a new tab and switches workflow context to it.
  3. wait_for — Waits for the <h1> element to be visible. Default timeout applies.
  4. get_text — Reads the text of that <h1>. Result available as $('Capture example H1').text.
  5. log_data — Writes the captured text to the run log with label example.com.
  6. new_tab — Opens https://example.org in yet another fresh tab. The previous tab stays open in the background.
  7. wait_for — Same wait for <h1>, with timeoutMs: 15000 (slightly more generous, useful for slower-loading sites).
  8. get_text — Grabs the H1.
  9. log_data — Logs it with label example.org.

After completion you have two tabs sitting open (plus your original tab) and two log entries summarising what you captured. The active tab is the last-opened one.

Customising it for your case

Three obvious tweaks.

Common gotchas

Opening many tabs at once can spike memory usage on machines with limited RAM — every Chromium tab is roughly 50-200 MB depending on what's loaded. Three tabs is fine; thirty is not. Second: some sites detect rapid tab opening as bot behaviour and may serve a CAPTCHA or block load — observable as the wait_for block timing out. Third: wait_for h1 will fail on pages that don't have an <h1> at all (some marketing pages use <h2> for the hero, or just a <div> styled as one). Inspect the target site first.

FAQ

Why use new_tab instead of navigate? Because navigate replaces the current page, losing it. new_tab keeps everything you had open and adds new tabs on top. The workflow then "follows" the new tab for subsequent blocks until you open another one.

Can I close the tabs at the end? Yes — add a close_tab block after the last log_data. Without it, tabs stay open by design (this template treats that as a feature, not a bug).

How is this different from Automa's tab handling? Automa uses an implicit "current tab" concept too, but switching back to a previously-opened tab is more explicit there. BNOD's $('Step').text grammar gives you direct access to results regardless of which tab the block ran in — Automa requires you to thread variables manually.

Blocks used

  • manual_trigger
  • new_tab
  • wait_for
  • get_text
  • log_data

Works on

Any site

Install in BNOD

Free. No signup required.

Related templates