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/workers-binding-api/index.mdx
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,30 @@ sidebar:
7
7
8
8
import { DirectoryListing } from"~/components";
9
9
10
-
The Workers Binding API allows you to execute advanced browser rendering scripts within Cloudflare Workers. It provides developers the flexibility to automate and control complex workflows and browser interactions. The following options are available for browser rendering tasks:
10
+
The Workers Binding API allows you to execute advanced browser rendering scripts within Cloudflare Workers. It provides developers the flexibility to automate and control complex workflows and browser interactions.
11
+
12
+
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.
13
+
14
+
### Checking chromium version
15
+
16
+
Choose one of the following options to confirm the Chromium version powering your rendering tasks:
17
+
18
+
1.**Check directly in your browser**
19
+
20
+
Open Developer Tools in a full Chrome or Chromium browser instance. Navigate to `chrome://version` or open the menu > Help > About Google Chrome to view the exact version.
21
+
22
+
2.**Use `browser.version()` for automation tools like [Playwright](/browser-rendering/platform/playwright/) or [Puppeteer](/browser-rendering/platform/puppeteer/)**
23
+
24
+
If you're using automation frameworks, you can programmatically retrieve the version:
25
+
26
+
```javascript
27
+
constversion=awaitbrowser.version();
28
+
console.log("Chromium version:", version);
29
+
```
30
+
31
+
## Browser Rendering options
32
+
33
+
The following options are available for browser rendering tasks:
0 commit comments