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
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,22 +19,37 @@ import {
19
19
20
20
<Description>
21
21
22
-
Browser automation for [Cloudflare Workers](/workers/).
22
+
Browser automation for [Cloudflare Workers](/workers/) and [quick browser actions](/browser-rendering/rest-api/).
23
23
24
24
</Description>
25
25
26
26
<Plantype="workers-all" />
27
27
28
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.
29
29
30
-
Use Browser Rendering to:
30
+
Use [Browser Rendering API](/browser-rendering/workers-binding-api/) to:
31
31
32
32
- Take screenshots of pages.
33
33
- Convert a page to a PDF.
34
34
- Test web applications.
35
35
- Gather page load performance metrics.
36
36
- Crawl web pages for information retrieval.
37
37
38
+
For more advanced automation needs like building custom workflows or maintaining persistent browser sessions the Workers Binding API is the ideal choice.
39
+
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:
43
+
44
+
- Fetch HTML content of a page.
45
+
- Capture screenshot of a webpage.
46
+
- Convert a webpage into a PDF document.
47
+
- Take a webpage snapshot.
48
+
- Scrape specified HTML elements from a webpage.
49
+
- Capture Structured Data: Retrieve data in a structured format.
0 commit comments