---
title: "Browser Run - Capture PDFs, links, scraped elements, and extracted JSON with /snapshot — Cloud Changelog"
description: "Browser Run's /snapshot endpoint can now return four more formats from a single page load: pdf, links, scrape, and json. Before, /snapshot returned HTML,…"
url: "https://cloudchangelog.com/cloudflare/2026-11-19-snapshot-all-formats"
updated: "2026-11-19"
---

[Back to feed](https://cloudchangelog.com/feed/2026-W47)

November 19, 2026 · Cloudflare

# Browser Run - Capture PDFs, links, scraped elements, and extracted JSON with /snapshot

- [Browser Run](https://cloudchangelog.com/products/cloudflare/browser-run)
- [AI and machine learning](https://cloudchangelog.com/search?q=ai-ml)

[Browser Run](https://developers.cloudflare.com/browser-run/)'s [`/snapshot` endpoint](https://developers.cloudflare.com/browser-run/quick-actions/snapshot/) can now return four more formats from a single page load: `pdf`, `links`, `scrape`, and `json`. Before, `/snapshot` returned HTML, screenshots, Markdown, and the accessibility tree, so a workflow that also needed a PDF or structured data had to prepare the same page again in a second request.

Use the new formats when you need to:

- **PDF**: print the page, with the same `pdfOptions` as the [`/pdf`](https://developers.cloudflare.com/browser-run/quick-actions/pdf-endpoint/) endpoint.
- **Links**: collect the links on the page, with the same `visibleLinksOnly` and `excludeExternalLinks` options as [`/links`](https://developers.cloudflare.com/browser-run/quick-actions/links-endpoint/).
- **Scraped elements**: return the elements matched by `elements`, the same payload as [`/scrape`](https://developers.cloudflare.com/browser-run/quick-actions/scrape-endpoint/). `elements` is required when you request it.
- **Extracted JSON**: extract structured data from the page HTML with [Workers AI](https://developers.cloudflare.com/workers-ai/), with the same `prompt`, `response_format`, and `custom_ai` fields as [`/json`](https://developers.cloudflare.com/browser-run/quick-actions/json-endpoint/). `prompt` or `response_format` is required, and the request incurs Workers AI usage.

Request them through `formats`, the same way as the existing formats. This example returns a PDF, the page links, and the text of each paragraph:

```
const response = await env.BROWSER.quickAction("snapshot", {
	url: "https://example.com/",
	formats: ["pdf", "links", "scrape"],
	elements: [{ selector: "p" }],
});

const { result } = await response.json();
console.log(result.pdf);
console.log(result.links);
```

```
const response = await env.BROWSER.quickAction("snapshot", {
	url: "https://example.com/",
	formats: ["pdf", "links", "scrape"],
	elements: [{ selector: "p" }],
});

const { result } = await response.json();
console.log(result.pdf);
console.log(result.links);
```

Formats are captured in a fixed order rather than the order of the `formats` array, and the PDF is printed last because print handlers can change the page. A live page can change between captures, and any format that fails fails the whole request. For JSON snapshots, one `actionTimeout` budget (default 60 seconds, maximum 120 seconds) covers navigation, captures, retries, and the AI request.

You still need to request at least two distinct formats. If you only need one, use the corresponding single-format endpoint.

Refer to the [`/snapshot` documentation](https://developers.cloudflare.com/browser-run/quick-actions/snapshot/) for the full list of accepted values and options.

Free. Unsubscribe any time.

[Read on developers.cloudflare.com](https://developers.cloudflare.com/changelog/post/2026-11-19-snapshot-all-formats/)

## Related updates

- Jun 11, 2026

  [Browser Run - New formats parameter for the Browser Run /snapshot endpoint](https://cloudchangelog.com/cloudflare/2026-06-11-browser-run-snapshot-formats)
- Feb 27, 2025

  [Browser Run - New REST API is in open beta\!](https://cloudchangelog.com/cloudflare/2025-02-27-br-rest-api-beta)
- May 28, 2026

  [Browser Run - Use Browser Run Quick Actions directly from Workers](https://cloudchangelog.com/cloudflare/2026-05-28-use-browser-run-quick-actions-directly-from-workers)
- Apr 7, 2025

  [Browser Run - Browser Rendering REST API is Generally Available, with new endpoints and a free tier](https://cloudchangelog.com/cloudflare/2025-04-07-br-free-ga-playwright)
- Jul 7, 2026

  [Browser Run - New Browser Run endpoint for accessibility trees](https://cloudchangelog.com/cloudflare/2026-07-07-browser-run-accessibility-tree-endpoint)

[All Browser Run changes](https://cloudchangelog.com/products/cloudflare/browser-run)

## Contact

- [YouTube](https://www.youtube.com/@cloudchangelog)
