Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/docs/browser-rendering/get-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ sidebar:

Browser rendering can be used in two ways:

- [Workers Binding API](/browser-rendering/workers-binding-api) for complex scripts.
- [Workers Bindings](/browser-rendering/workers-binding-api) for complex scripts.
- [REST API](/browser-rendering/rest-api/) for simple actions.
4 changes: 2 additions & 2 deletions src/content/docs/browser-rendering/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ Browser Rendering enables developers to programmatically control and interact wi
You can integrate Browser Rendering into your applications using one of the following methods:

- **[REST API](/browser-rendering/rest-api/)**: Ideal for simple, stateless tasks like capturing screenshots, generating PDFs, extracting HTML content, and more.
- **[Workers Binding API](/browser-rendering/workers-binding-api/)**: Suitable for advanced browser automation within [Cloudflare Workers](/workers/). This method provides greater control, enabling more complex workflows and persistent sessions.
- **[Workers Bindings](/browser-rendering/workers-binding-api/)**: Suitable for advanced browser automation within [Cloudflare Workers](/workers/). This method provides greater control, enabling more complex workflows and persistent sessions.

Choose the method that best fits your use case. For example, use the [REST API endpoints](/browser-rendering/rest-api/) for straightforward tasks from external applications and the [Workers Binding API](/browser-rendering/workers-binding-api/) for complex automation within the Cloudflare ecosystem.
Choose the method that best fits your use case. For example, use the [REST API endpoints](/browser-rendering/rest-api/) for straightforward tasks from external applications and the [Workers Bindings](/browser-rendering/workers-binding-api/) for complex automation within the Cloudflare ecosystem.

## Use Cases

Expand Down
8 changes: 4 additions & 4 deletions src/content/docs/browser-rendering/platform/limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ To increase this limit, you’ll need to [upgrade to a Workers Paid plan](/worke

| Feature | Limit |
| -------------------------------------- | --------------- |
| Concurrent browsers per account (Workers Binding API only) | 3 per account |
| New browser instances per minute (Workers Binding API only) | 3 per minute |
| Concurrent browsers per account (Workers Bindings only) | 3 per account |
| New browser instances per minute (Workers Bindings only) | 3 per minute |
| Browser timeout | 60 seconds [^2] |
| Total requests per min (REST API only) | 6 per minute |

Expand All @@ -29,8 +29,8 @@ To increase this limit, you’ll need to [upgrade to a Workers Paid plan](/worke

| Feature | Limit |
| -------------------------------------- | ------------------- |
| Concurrent browsers per account (Workers Binding API only) | 10 per account [^1] |
| New browser instances per minute (Workers Binding API only) | 10 per minute [^1] |
| Concurrent browsers per account (Workers Bindings only) | 10 per account [^1] |
| New browser instances per minute (Workers Bindings only) | 10 per minute [^1] |
| Browser timeout | 60 seconds [^2][^1] |
| Total requests per min (REST API only) | 60 per minute |

Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/browser-rendering/rest-api/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DirectoryListing } from "~/components";

<DirectoryListing />

Use the REST API when you need a fast, simple way to perform common browser tasks such as capturing screenshots, extracting HTML, or generating PDFs without writing complex scripts. If you require more advanced automation, custom workflows, or persistent browser sessions, the [Workers Binding API](/browser-rendering/workers-binding-api/) is the better choice.
Use the REST API when you need a fast, simple way to perform common browser tasks such as capturing screenshots, extracting HTML, or generating PDFs without writing complex scripts. If you require more advanced automation, custom workflows, or persistent browser sessions, [Workers Bindings](/browser-rendering/workers-binding-api/) are the better choice.

## Before you begin

Expand All @@ -22,6 +22,6 @@ Before you begin, make sure you [create a custom API Token](/fundamentals/api/ge

:::note[Note]

Currently, the Cloudflare dashboard displays usage metrics exclusively for the [Workers Binding API method](/browser-rendering/workers-binding-api/). Usage data for the REST API is not yet available in the dashboard. We are actively working on adding REST API usage metrics to the dashboard.
Currently, the Cloudflare dashboard displays usage metrics exclusively for the [Workers Bindings method](/browser-rendering/workers-binding-api/). Usage data for the REST API is not yet available in the dashboard. We are actively working on adding REST API usage metrics to the dashboard.

:::
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
pcx_content_type: navigation
title: Workers Binding API
title: Workers Binding
sidebar:
order: 2
---

import { DirectoryListing } from "~/components";

The Workers Binding API allows you to execute advanced browser rendering scripts within Cloudflare Workers. It provides developers the flexibility to automate and control complex workflows and browser interactions. The following options are available for browser rendering tasks:
Workers Bindings allow you to execute advanced browser rendering scripts within Cloudflare Workers. They provide developers the flexibility to automate and control complex workflows and browser interactions. The following options are available for browser rendering tasks:

<DirectoryListing />

Use the Workers Binding API when you need advanced browser automation, custom workflows, or complex interactions beyond basic rendering. For quick, one-off tasks like capturing screenshots or extracting HTML, the [REST API](/browser-rendering/rest-api/) is the simpler choice.
Use Workers Bindings when you need advanced browser automation, custom workflows, or complex interactions beyond basic rendering. For quick, one-off tasks like capturing screenshots or extracting HTML, the [REST API](/browser-rendering/rest-api/) is the simpler choice.