**TL;DR**

- Take a Screenshot supports three capture modes: Visible area, Full page, and Selected element.
- Optional Viewport size (Desktop 1440x900, Tablet 768x1024, Mobile 390x844) and Color scheme (Light or Dark) overrides run temporarily through Chrome's debugger.
- Every PNG stays locally in Dashboard → Files & screenshots until you download one image or export a ZIP.

import StoreCta from "../../components/StoreCta.astro";

Most screenshot extensions only grab the whole window as it sits on your monitor. With [Take a Screenshot](/steps/take-a-screenshot) in [Tab Automation](/), you can pick one page element to crop tightly, temporarily switch to a **Desktop**, **Tablet**, or **Mobile** viewport, and force **Light** or **Dark** color-scheme emulation—on a single tab schedule or across a whole list of URLs.

Overrides run inside Chrome's debugger only for that screenshot step and restore automatically before the next step runs, without resizing your actual Chrome window or bringing background tabs to the front.

<StoreCta fallback="/#how-it-works" showNote={false} placement="guide-demo" />

## Capture a single page element (`Selected element`)

Use **Selected element** when you want a tight PNG of a KPI card, pricing table, chart widget, or hero banner rather than the full webpage:

1. Open the page you want to monitor in Chrome and launch the Tab Automation side panel.
2. Click **New automation**, turn off **Run in a new tab** under **Tab & startup**, and choose that tab (or add [For Each Link](/steps/for-each-link) if capturing the same component selector across multiple pages).
3. Click **Add step → Take a screenshot**.
4. Switch capture mode from **Visible area** to **Selected element**.
5. Click **Pick on page** and click the component, chart, or container you want cropped. If the selector matches multiple elements, use **Which match to use** to pinpoint the exact block.
6. Click **Test screenshot**, then open **Dashboard → Files & screenshots** to inspect the cropped PNG.

When **Selected element** runs, Tab Automation scrolls the matched element into view, checks that it is rendered with non-zero width and height, and captures the cropped PNG tightly to its box.

## Test Tablet, Mobile, or Dark Mode without resizing Chrome

Expand **Advanced** inside **Take a screenshot** to emulate screen dimensions and theme preference for that capture only:

| Control           | Presets available                                                                 | What it changes during capture                                                                                             |
| ----------------- | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| **Viewport size** | `Current tab size`, `Desktop (1440×900)`, `Tablet (768×1024)`, `Mobile (390×844)` | Applies Chrome metrics override so responsive CSS media queries adapt before capture, then resets afterward.               |
| **Color scheme**  | `Page default`, `Light`, `Dark`                                                   | Emulates `prefers-color-scheme: light` or `dark` so theme-aware sites switch automatically without changing your OS theme. |

You can combine **Selected element**, **Full page**, or **Visible area** with either override—for example, capturing a **Full page** **Mobile (390×844)** **Dark** screenshot of every staging URL in a batch.

## Schedule updates or loop across a URL list

- **Hide banners first:** If a cookie bar overlaps your picked element on smaller mobile viewports, place [Hide Element](/steps/hide-element) above **Take a screenshot**. See [screenshot a page without a cookie banner](/blog/screenshot-page-without-cookie-banner).
- **Schedule recurring snapshots:** Turn on [Repeat](/steps/repeat) (and optionally add [Refresh Page](/steps/refresh-page) + [Wait / Delay](/steps/wait-delay)) to build a visual changelog of a chart or dashboard.
- **Batch multiple URLs:** Put **Take a screenshot** inside [For Each Link](/steps/for-each-link) (using **Paste list**, **Sitemap**, or **Next page**) to archive Desktop/Mobile or Light/Dark variants across a whole redesign.

## Boundaries and troubleshooting

- **Requires `debugger` access:** All screenshot modes attach Chrome's debugger temporarily, showing Chrome's debugging notice while capturing. Captured tabs stay in the background, though minimized browser windows can stop producing frames and time out.
- **Color scheme vs. custom JS toggles:** **Color scheme** overrides CSS `prefers-color-scheme`. If a site ignores OS preference and only toggles dark mode via a site button or localStorage setting, add [Click Element](/steps/click-element) on its theme button instead.
- **One element per step:** To capture both Desktop and Mobile screenshots in one pass, add two **Take a screenshot** steps in sequence with different **Viewport size** overrides (and optionally distinct **Export folder** names under **Advanced**).
- **Retained locally first:** PNGs stay in **Dashboard → Files & screenshots** up to 32 megapixels (max 32,767 px per side). Nothing downloads automatically until you click **Download** or **Export… → ZIP**.

Read [how to automatically screenshot a Chrome tab](/blog/automatically-screenshot-a-chrome-tab) for daily scheduling basics, or [screenshot multiple URLs in Chrome](/blog/screenshot-multiple-urls-chrome) for batch exports.
