Skip to content

Commit 87da8d2

Browse files
committed
Added missing redirects and updated missing root links
1 parent 3ea5bab commit 87da8d2

File tree

11 files changed

+35
-31
lines changed

11 files changed

+35
-31
lines changed

public/__redirects

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,15 @@
304304
/browser-rendering/workers-binding-api/screenshots/ /browser-rendering/workers-bindings/screenshots/ 301
305305
/browser-rendering/workers-binding-api/browser-rendering-with-do/ /browser-rendering/workers-bindings/browser-rendering-with-do/ 301
306306
/browser-rendering/workers-binding-api/reuse-sessions/ /browser-rendering/workers-bindings/reuse-sessions/ 301
307+
/browser-rendering/platform/ /browser-rendering/ 301
307308
/browser-rendering/platform/puppeteer/ /browser-rendering/puppeteer/ 301
308309
/browser-rendering/platform/playwright/ /browser-rendering/playwright/ 301
310+
/browser-rendering/platform/playwright-mcp/ /browser-rendering/playwright/playwright-mcp/ 301
309311
/browser-rendering/platform/wrangler/ /browser-rendering/reference/wrangler/ 301
310312
/browser-rendering/platform/limits/ /browser-rendering/limits/ 301
311313
/browser-rendering/platform/pricing/ /browser-rendering/pricing/ 301
314+
/browser-rendering/platform/browser-close-reasons/ /browser-rendering/reference/browser-close-reasons/ 301
315+
/browser-rendering/platform/stagehand/ /browser-rendering/stagehand/ 301
312316

313317
# byoip
314318
/byoip/about/dynamic-advertisement/ /byoip/concepts/dynamic-advertisement/ 301

src/content/changelog/browser-rendering/2025-04-04-playwright-beta.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ date: 2025-04-04
88

99
We're excited to share that you can now use Playwright's browser automation [capabilities](https://playwright.dev/docs/api/class-playwright) from Cloudflare [Workers](/workers/).
1010

11-
[Playwright](https://playwright.dev/) is an open-source package developed by Microsoft that can do browser automation tasks; it's commonly used to write software tests, debug applications, create screenshots, and crawl pages. Like [Puppeteer](/browser-rendering/platform/puppeteer/), we [forked](https://github.com/cloudflare/playwright) Playwright and modified it to be compatible with Cloudflare Workers and [Browser Rendering](https://developers.cloudflare.com/browser-rendering/).
11+
[Playwright](https://playwright.dev/) is an open-source package developed by Microsoft that can do browser automation tasks; it's commonly used to write software tests, debug applications, create screenshots, and crawl pages. Like [Puppeteer](/browser-rendering/puppeteer/), we [forked](https://github.com/cloudflare/playwright) Playwright and modified it to be compatible with Cloudflare Workers and [Browser Rendering](https://developers.cloudflare.com/browser-rendering/).
1212

1313
Below is an example of how to use Playwright with Browser Rendering to test a TODO application using assertions:
1414

@@ -52,4 +52,4 @@ export default {
5252

5353
Playwright is available as an npm package at [`@cloudflare/playwright`](https://www.npmjs.com/package/@cloudflare/playwright) and the code is at [GitHub](https://github.com/cloudflare/playwright).
5454

55-
Learn more in our [documentation](/browser-rendering/platform/playwright/).
55+
Learn more in our [documentation](/browser-rendering/playwright/).

src/content/changelog/browser-rendering/2025-04-07-br-free-ga-playwright.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ curl -X 'POST' 'https://api.cloudflare.com/client/v4/accounts/<accountId>/browse
2828

2929
For the full list of endpoints, check out our [REST API documentation](/browser-rendering/rest-api/). You can also interact with Browser Rendering via the [Cloudflare TypeScript SDK](https://github.com/cloudflare/cloudflare-typescript).
3030

31-
We also recently landed support for [Playwright](/browser-rendering/platform/playwright/) in Browser Rendering for browser automation from Cloudflare [Workers](/workers/), in addition to [Puppeteer](/browser-rendering/platform/puppeteer/), giving you more flexibility to test across different browser environments.
31+
We also recently landed support for [Playwright](/browser-rendering/playwright/) in Browser Rendering for browser automation from Cloudflare [Workers](/workers/), in addition to [Puppeteer](/browser-rendering/puppeteer/), giving you more flexibility to test across different browser environments.
3232

3333
Visit the [Browser Rendering docs](/browser-rendering/) to learn more about how to use headless browsers in your applications.

src/content/changelog/browser-rendering/2025-05-28-playwright-mcp.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { PackageManagers } from "~/components";
1010

1111
We're excited to share that you can now use the [Playwright MCP](https://github.com/cloudflare/playwright-mcp) server with Browser Rendering.
1212

13-
Once you [deploy the server](/browser-rendering/platform/playwright-mcp/#deploying), you can use any MCP client with it to interact with Browser Rendering. This allows you to run AI models that can automate browser tasks, such as taking screenshots, filling out forms, or scraping data.
13+
Once you [deploy the server](/browser-rendering/playwright-mcp/#deploying), you can use any MCP client with it to interact with Browser Rendering. This allows you to run AI models that can automate browser tasks, such as taking screenshots, filling out forms, or scraping data.
1414

1515
![Access Analytics](~/assets/images/browser-rendering/playground-ai-screenshot.png)
1616

@@ -30,4 +30,4 @@ export default PlaywrightMCP.mount("/sse");
3030

3131
Check out the full code at [GitHub](https://github.com/cloudflare/playwright-mcp).
3232

33-
Learn more about Playwright MCP in our [documentation](/browser-rendering/platform/playwright-mcp/).
33+
Learn more about Playwright MCP in our [documentation](/browser-rendering/playwright-mcp/).

src/content/changelog/browser-rendering/2025-07-22-br-local-dev.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ products:
66
date: 2025-07-22T11:00:00Z
77
---
88

9-
You can now run your Browser Rendering locally using `npx wrangler dev`, which spins up a browser directly on your machine before deploying to Cloudflare's global network. By running tests locally, you can quickly develop, debug, and test changes without needing to deploy or worry about usage costs.
9+
You can now run your Browser Rendering locally using `npx wrangler dev`, which spins up a browser directly on your machine before deploying to Cloudflare's global network. By running tests locally, you can quickly develop, debug, and test changes without needing to deploy or worry about usage costs.
1010

1111
![Local Dev video](~/assets/images/browser-rendering//localshorterbrowserrendering.gif)
1212

13-
Get started with this [example guide](/browser-rendering/workers-bindings/screenshots/) that shows how to use Cloudflare's [fork of Puppeteer](/browser-rendering/platform/puppeteer/) (you can also use [Playwright](/browser-rendering/platform/playwright/)) to take screenshots of webpages and store the results in [Workers KV](/kv/).
13+
Get started with this [example guide](/browser-rendering/workers-bindings/screenshots/) that shows how to use Cloudflare's [fork of Puppeteer](/browser-rendering/puppeteer/) (you can also use [Playwright](/browser-rendering/playwright/)) to take screenshots of webpages and store the results in [Workers KV](/kv/).

src/content/changelog/browser-rendering/2025-07-28-br-pricing.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ What you need to know:
2424
- **Workers Free Plan:** 10 minutes of browser usage per day with 3 concurrent browsers at no charge.
2525
- **Workers Paid Plan:** 10 hours of browser usage per month with 10 concurrent browsers (averaged monthly) at no charge. Additional usage is charged as shown above.
2626

27-
You can monitor usage via the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/workers/browser-rendering). Go to **Compute (Workers)** > **Browser Rendering**.
27+
You can monitor usage via the [Cloudflare dashboard](https://dash.cloudflare.com/?to=/:account/workers/browser-rendering). Go to **Compute (Workers)** > **Browser Rendering**.
2828

2929
![Browser Rendering dashboard](~/assets/images/browser-rendering/dashboard.png)
3030

31-
If you've been using Browser Rendering and do not wish to incur charges, ensure your usage stays within your plan's [included usage](/browser-rendering/platform/pricing/). To estimate costs, take a look at these [example pricing scenarios](/browser-rendering/platform/pricing/#examples-of-workers-paid-pricing).
31+
If you've been using Browser Rendering and do not wish to incur charges, ensure your usage stays within your plan's [included usage](/browser-rendering/pricing/). To estimate costs, take a look at these [example pricing scenarios](/browser-rendering/pricing/#examples-of-workers-paid-pricing).

src/content/changelog/browser-rendering/2025-09-25-br-playwright-ga-stagehand-limits.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ date: 2025-09-25T12:00:00Z
88

99
We’re shipping three updates to Browser Rendering:
1010
- Playwright support is now Generally Available and synced with [Playwright v1.55](https://playwright.dev/docs/release-notes#version-155), giving you a stable foundation for critical automation and AI-agent workflows.
11-
- We’re also adding [Stagehand support (Beta)](/browser-rendering/platform/stagehand/) so you can combine code with natural language instructions to build more resilient automations.
12-
- Finally, we’ve tripled [limits](/browser-rendering/platform/limits/#workers-paid) for paid plans across both the [REST API](/browser-rendering/rest-api/) and [Workers Bindings](/browser-rendering/workers-bindings/) to help you scale.
11+
- We’re also adding [Stagehand support (Beta)](/browser-rendering/stagehand/) so you can combine code with natural language instructions to build more resilient automations.
12+
- Finally, we’ve tripled [limits](/browser-rendering/limits/#workers-paid) for paid plans across both the [REST API](/browser-rendering/rest-api/) and [Workers Bindings](/browser-rendering/workers-bindings/) to help you scale.
1313

14-
To get started with Stagehand, refer to the [Stagehand](/browser-rendering/platform/stagehand/) example that uses Stagehand and [Workers AI](/workers-ai/) to search for a movie on this [example movie directory](https://demo.playwright.dev/movies), extract its details using natural language (title, year, rating, duration, and genre), and return the information along with a screenshot of the webpage.
14+
To get started with Stagehand, refer to the [Stagehand](/browser-rendering/stagehand/) example that uses Stagehand and [Workers AI](/workers-ai/) to search for a movie on this [example movie directory](https://demo.playwright.dev/movies), extract its details using natural language (title, year, rating, duration, and genre), and return the information along with a screenshot of the webpage.
1515

1616
```ts title="Stagehand example"
1717
const stagehand = new Stagehand({

src/content/docs/browser-rendering/index.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Run headless Chrome on [Cloudflare's global network](/workers/) for browser auto
2525

2626
<Plan type="workers-all" />
2727

28-
Browser Rendering enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global network.
28+
Browser Rendering enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global network.
2929

3030
## Use Cases
3131

@@ -37,15 +37,15 @@ Browser Rendering supports a wide range of use cases, including:
3737
- Build web scrapers that target specific elements or extract all links using the [scrape endpoint](/browser-rendering/rest-api/scrape-endpoint/) and [links endpoint](/browser-rendering/rest-api/links-endpoint/)
3838
- Parse and structure webpage data into JSON format using the [json endpoint](/browser-rendering/rest-api/json-endpoint/)
3939

40-
Browser Rendering is also ideal for agentic workflows. Use [Puppeteer](/browser-rendering/platform/puppeteer/), [Playwright](/browser-rendering/platform/playwright/), [Playwright MCP](/browser-rendering/platform/playwright-mcp/), or [Stagehand](/browser-rendering/platform/stagehand/) to power AI agents that interact with web pages and extract data where APIs do not exist.
40+
Browser Rendering is also ideal for agentic workflows. Use [Puppeteer](/browser-rendering/puppeteer/), [Playwright](/browser-rendering/playwright/), [Playwright MCP](/browser-rendering/playwright-mcp/), or [Stagehand](/browser-rendering/stagehand/) to power AI agents that interact with web pages and extract data where APIs do not exist.
4141

4242
## Key features
4343

4444
- **Scale to thousands of browsers**: Instant access to a global pool of browsers with low cold-start time, ideal for high-volume screenshot generation, data extraction, or automation at scale
4545
- **Global by default**: Browser sessions run on Cloudflare's edge network, opening close to your users for better speed and availability worldwide
46-
- **Easy to integrate**: [REST APIs](/browser-rendering/rest-api/) for common actions, while [Puppeteer](/browser-rendering/platform/puppeteer/) and [Playwright](/browser-rendering/platform/playwright/) provide familiar automation libraries for complex workflows
46+
- **Easy to integrate**: [REST APIs](/browser-rendering/rest-api/) for common actions, while [Puppeteer](/browser-rendering/puppeteer/) and [Playwright](/browser-rendering/playwright/) provide familiar automation libraries for complex workflows
4747
- **Session management**: [Reuse browser sessions](/browser-rendering/workers-bindings/reuse-sessions/) across requests to improve performance and reduce cold-start overhead
48-
- **Flexible pricing**: Pay only for browser time used with generous free tier ([view pricing](/browser-rendering/platform/pricing/))
48+
- **Flexible pricing**: Pay only for browser time used with generous free tier ([view pricing](/browser-rendering/pricing/))
4949

5050
## Integration Methods
5151

@@ -72,7 +72,7 @@ A globally distributed coordination API with strongly consistent storage. Using
7272

7373
<RelatedProduct header="Agents" href="/agents/" product="agents">
7474

75-
Build AI-powered agents that autonomously navigate websites and perform tasks using [Playwright MCP](/browser-rendering/platform/playwright-mcp/) or [Stagehand](/browser-rendering/platform/stagehand/).
75+
Build AI-powered agents that autonomously navigate websites and perform tasks using [Playwright MCP](/browser-rendering/playwright-mcp/) or [Stagehand](/browser-rendering/stagehand/).
7676

7777
</RelatedProduct>
7878

@@ -106,7 +106,7 @@ Build AI-powered agents that autonomously navigate websites and perform tasks us
106106

107107
<LinkTitleCard
108108
title="Playwright API"
109-
href="/browser-rendering/platform/playwright/"
109+
href="/browser-rendering/playwright/"
110110
icon="pen"
111111
>
112112
Use Cloudflare's fork of Playwright for testing and automation.

src/content/partials/browser-rendering/example-workers-binding-screenshots-from-web.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Create a new Worker project named `browser-worker` by running:
2424

2525
#### 2. Install Puppeteer
2626

27-
In your `browser-worker` directory, install Cloudflare’s [fork of Puppeteer](/browser-rendering/platform/puppeteer/):
27+
In your `browser-worker` directory, install Cloudflare’s [fork of Puppeteer](/browser-rendering/puppeteer/):
2828

2929
<PackageManagers pkg="@cloudflare/puppeteer" dev />
3030

src/content/partials/browser-rendering/manage-concurrency-faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### How can I manage concurrency and session isolation with Browser Rendering?
22

3-
If you are hitting concurrency [limits](/browser-rendering/platform/limits/#workers-paid), or want to optimize concurrent browser usage with the [Workers Binding method](/browser-rendering/workers-bindings/), here are a few tips:
3+
If you are hitting concurrency [limits](/browser-rendering/limits/#workers-paid), or want to optimize concurrent browser usage with the [Workers Binding method](/browser-rendering/workers-bindings/), here are a few tips:
44

55
- Optimize with tabs or shared browsers: Instead of launching a new browser for each task, consider opening multiple tabs or running multiple actions within the same browser instance.
66
- [Reuse sessions](/browser-rendering/workers-bindings/reuse-sessions/): You can optimize your setup and decrease startup time by reusing sessions instead of launching a new browser every time. If you are concerned about maintaining test isolation (for example, for tests that depend on a clean environment), we recommend using [incognito browser contexts](https://pptr.dev/api/puppeteer.browser.createbrowsercontext), which isolate cookies and cache with other sessions.

0 commit comments

Comments
 (0)