Skip to content

Commit fba1cb0

Browse files
[BRAPI]improved landing page (#21673)
* improved landing page * Update index.mdx new copy * Update index.mdx * minor fixes --------- Co-authored-by: Kathy <[email protected]>
1 parent a69a7dc commit fba1cb0

File tree

1 file changed

+28
-8
lines changed

1 file changed

+28
-8
lines changed

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

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

2020
<Description>
2121

22-
Browser automation for [Cloudflare Workers](/workers/).
22+
Browser automation for [Cloudflare Workers](/workers/) and [quick browser actions](/browser-rendering/rest-api/).
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+
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.
2929

30-
Use Browser Rendering to:
30+
## Integration 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+
You can integrate Browser Rendering into your applications using one of the following methods:
33+
34+
- **[REST API](/browser-rendering/rest-api/)**: Ideal for simple, stateless tasks like capturing screenshots, generating PDFs, extracting HTML content, and more.
35+
- **[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.
36+
37+
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.
38+
39+
## Use Cases
40+
41+
Browser Rendering can be utilized for various purposes, including:
42+
43+
- Fetch HTML content of a page.
44+
- Capture screenshot of a webpage.
45+
- Convert a webpage into a PDF document.
46+
- Take a webpage snapshot.
47+
- Scrape specified HTML elements from a webpage.
48+
- Retrieve data in a structured format.
49+
- Extract Markdown content from a webpage.
50+
- Gather all hyperlinks found on a webpage.
3751

3852
## Related products
3953

@@ -49,6 +63,12 @@ A globally distributed coordination API with strongly consistent storage.
4963

5064
</RelatedProduct>
5165

66+
<RelatedProduct header="Agents" href="/agents/" product="agents">
67+
68+
Build and deploy AI-powered agents that can autonomously perform tasks.
69+
70+
</RelatedProduct>
71+
5272
## More resources
5373

5474
<CardGrid>

0 commit comments

Comments
 (0)