From 1ad1557a349ee984208f10f3bb90c080cfd246e0 Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Mon, 14 Apr 2025 16:46:17 +0100 Subject: [PATCH 1/4] improved landing page --- src/content/docs/browser-rendering/index.mdx | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/content/docs/browser-rendering/index.mdx b/src/content/docs/browser-rendering/index.mdx index c452ae80f95bfd9..ef0436ae5509977 100644 --- a/src/content/docs/browser-rendering/index.mdx +++ b/src/content/docs/browser-rendering/index.mdx @@ -19,7 +19,7 @@ import { -Browser automation for [Cloudflare Workers](/workers/). +Browser automation for [Cloudflare Workers](/workers/) and [quick browser actions](/browser-rendering/rest-api/). @@ -27,7 +27,7 @@ Browser automation for [Cloudflare Workers](/workers/). 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. -Use Browser Rendering to: +Use [Browser Rendering API](/browser-rendering/workers-binding-api/) to: - Take screenshots of pages. - Convert a page to a PDF. @@ -35,6 +35,21 @@ Use Browser Rendering to: - Gather page load performance metrics. - Crawl web pages for information retrieval. +For more advanced automation needs like building custom workflows or maintaining persistent browser sessions the Workers Binding API is the ideal choice. + +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/). + +Use REST API endpoints to: + +- Fetch HTML content of a page. +- Capture screenshot of a webpage. +- Convert a webpage into a PDF document. +- Take a webpage snapshot. +- Scrape specified HTML elements from a webpage. +- Capture Structured Data: Retrieve data in a structured format. +- Extract Markdown content from a webpage. +- Gather all hyperlinks found on a webpage. + ## Related products From 89c1e003d3d964da681f4d3e28865f493c8df934 Mon Sep 17 00:00:00 2001 From: Kathy <153706637+kathayl@users.noreply.github.com> Date: Mon, 14 Apr 2025 11:40:47 -0700 Subject: [PATCH 2/4] Update index.mdx new copy --- src/content/docs/browser-rendering/index.mdx | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/src/content/docs/browser-rendering/index.mdx b/src/content/docs/browser-rendering/index.mdx index ef0436ae5509977..259e90e3c1ed8f9 100644 --- a/src/content/docs/browser-rendering/index.mdx +++ b/src/content/docs/browser-rendering/index.mdx @@ -19,28 +19,24 @@ import { -Browser automation for [Cloudflare Workers](/workers/) and [quick browser actions](/browser-rendering/rest-api/). +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. -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. +##Integration Methods -Use [Browser Rendering API](/browser-rendering/workers-binding-api/) to: +You can integrate Browser Rendering into your applications using one of the following methods: -- Take screenshots of pages. -- Convert a page to a PDF. -- Test web applications. -- Gather page load performance metrics. -- Crawl web pages for information retrieval. +- **[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. -For more advanced automation needs like building custom workflows or maintaining persistent browser sessions the Workers Binding API is the ideal choice. +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. -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/). - -Use REST API endpoints to: +##Use Cases +Browser Rendering can be utilized for various purposes, including: - Fetch HTML content of a page. - Capture screenshot of a webpage. - Convert a webpage into a PDF document. From 9fdb92420c236dda0153c24a70110b4c070e9054 Mon Sep 17 00:00:00 2001 From: Kathy <153706637+kathayl@users.noreply.github.com> Date: Mon, 14 Apr 2025 11:46:31 -0700 Subject: [PATCH 3/4] Update index.mdx --- src/content/docs/browser-rendering/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/browser-rendering/index.mdx b/src/content/docs/browser-rendering/index.mdx index 259e90e3c1ed8f9..45de979124d8bbb 100644 --- a/src/content/docs/browser-rendering/index.mdx +++ b/src/content/docs/browser-rendering/index.mdx @@ -42,7 +42,7 @@ Browser Rendering can be utilized for various purposes, including: - Convert a webpage into a PDF document. - Take a webpage snapshot. - Scrape specified HTML elements from a webpage. -- Capture Structured Data: Retrieve data in a structured format. +- Retrieve data in a structured format. - Extract Markdown content from a webpage. - Gather all hyperlinks found on a webpage. From 63dd772f7368a4cd19c24867499ace5c9052d15a Mon Sep 17 00:00:00 2001 From: daisyfaithauma Date: Tue, 15 Apr 2025 18:17:49 +0100 Subject: [PATCH 4/4] minor fixes --- src/content/docs/browser-rendering/index.mdx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/content/docs/browser-rendering/index.mdx b/src/content/docs/browser-rendering/index.mdx index 45de979124d8bbb..8ee833e35d845c6 100644 --- a/src/content/docs/browser-rendering/index.mdx +++ b/src/content/docs/browser-rendering/index.mdx @@ -19,24 +19,27 @@ import { -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. +Browser automation for [Cloudflare Workers](/workers/) and [quick browser actions](/browser-rendering/rest-api/). -##Integration Methods +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. + +## Integration Methods 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 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. -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 Binding API](/browser-rendering/workers-binding-api/) for complex automation within the Cloudflare ecosystem. -##Use Cases +## Use Cases Browser Rendering can be utilized for various purposes, including: + - Fetch HTML content of a page. - Capture screenshot of a webpage. - Convert a webpage into a PDF document. @@ -60,6 +63,12 @@ A globally distributed coordination API with strongly consistent storage. + + +Build and deploy AI-powered agents that can autonomously perform tasks. + + + ## More resources