Skip to content
Help Center Screenshots Target Selector and Tags

Screenshots

Target Selector and Tags

Capture a specific element with a CSS selector, and tag screenshots for easy filtering.

Target selector

Use the target parameter with a CSS selector to crop the screenshot to just the matching element, instead of the full page:

{
  "url": "https://example.com",
  "target": ".hero-section"
}

The browser scrolls to the element and crops the output image to its bounding box.

Selector examples

  • #chart-container — element by ID
  • .price-table — element by class
  • [data-testid="product-card"] — attribute selector
  • header nav — descendant selector

Tags

Attach one or more tags to a screenshot request to organize and filter results in the dashboard:

{
  "url": "https://example.com",
  "tag": ["monitoring", "homepage", "production"]
}

Tags appear in the screenshot list and can be used as filters.

Last updated March 27, 2026