You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/browser-rendering/index.mdx
+8-12Lines changed: 8 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,28 +19,24 @@ import {
19
19
20
20
<Description>
21
21
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.
23
23
24
24
</Description>
25
25
26
26
<Plantype="workers-all" />
27
27
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
29
29
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:
31
31
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.
37
34
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.
39
36
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
43
38
39
+
Browser Rendering can be utilized for various purposes, including:
0 commit comments