Skip to content

Commit 22d37ea

Browse files
chromium version details
1 parent c95b1ca commit 22d37ea

File tree

1 file changed

+24
-1
lines changed
  • src/content/docs/browser-rendering/workers-binding-api

1 file changed

+24
-1
lines changed

src/content/docs/browser-rendering/workers-binding-api/index.mdx

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,30 @@ sidebar:
77

88
import { DirectoryListing } from "~/components";
99

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+
const version = await browser.version();
28+
console.log("Chromium version:", version);
29+
```
30+
31+
## Browser Rendering options
32+
33+
The following options are available for browser rendering tasks:
1134

1235
<DirectoryListing />
1336

0 commit comments

Comments
 (0)