Skip to content

Commit 89c1e00

Browse files
authored
Update index.mdx
new copy
1 parent 1ad1557 commit 89c1e00

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

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

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,24 @@ import {
1919

2020
<Description>
2121

22-
Browser automation for [Cloudflare Workers](/workers/) and [quick browser actions](/browser-rendering/rest-api/).
22+
Browser Rendering enables developers to programmatically control and interact with headless browser instances running on Cloudflare’s global network. This facilitates tasks such as automating browser interactions, capturing screenshots, generating PDFs, and extracting data from web pages.
2323

2424
</Description>
2525

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

28-
The Workers Browser Rendering API allows developers to programmatically control and interact with a headless browser instance and create automation flows for their applications and products. Once you configure the service, Workers Browser Rendering gives you access to a WebSocket endpoint that speaks the [DevTools Protocol](https://chromedevtools.github.io/devtools-protocol/). DevTools is what allows Cloudflare to instrument a Chromium instance running in the Cloudflare global network.
28+
##Integration Methods
2929

30-
Use [Browser Rendering API](/browser-rendering/workers-binding-api/) to:
30+
You can integrate Browser Rendering into your applications using one of the following methods:
3131

32-
- Take screenshots of pages.
33-
- Convert a page to a PDF.
34-
- Test web applications.
35-
- Gather page load performance metrics.
36-
- Crawl web pages for information retrieval.
32+
- **[REST API](/browser-rendering/rest-api/)**: Ideal for simple, stateless tasks like capturing screenshots, generating PDFs, extracting HTML content, and more.
33+
- **[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.
3734

38-
For more advanced automation needs like building custom workflows or maintaining persistent browser sessions the Workers Binding API is the ideal choice.
35+
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.
3936

40-
For looking for a fast and simple way to execute standard browser tasks without the overhead of writing complex scripts, use the [REST API endpoints](/browser-rendering/rest-api/).
41-
42-
Use REST API endpoints to:
37+
##Use Cases
4338

39+
Browser Rendering can be utilized for various purposes, including:
4440
- Fetch HTML content of a page.
4541
- Capture screenshot of a webpage.
4642
- Convert a webpage into a PDF document.

0 commit comments

Comments
 (0)