Skip to content

Commit cf48008

Browse files
masnwilliamsclaude
andcommitted
soften control framing, lead playwright execution with run-from-anywhere
- Home page Control card now mentions playwright execution alongside the other three (was drifting from the page itself). - Reframe the Control intro from "four control primitives" to "four ways to drive a session" — playwright execution is a delivery mode on top of CDP, not a separate protocol. - Rewrite the playwright execution tab + bullets around the actual pitch: run any Playwright code from anywhere, no install, no Chromium, no CDP connection to manage. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 9b61df4 commit cf48008

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ We build crazy fast, open source infra for AI agents to access the internet. Tru
2929
Spin up a browser and pick the shape — headless, stealth, GPU, profiles.
3030
</Card>
3131
<Card title="Control" href="/introduction/control">
32-
Drive it with computer use, CDP, or WebDriver BiDi.
32+
Drive it with computer use, playwright execution, CDP, or WebDriver BiDi.
3333
</Card>
3434
<Card title="Observe" href="/introduction/observe">
3535
Watch it live, record replays, and capture screenshots.

introduction/control.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Control"
33
description: "Drive the browser with computer use, playwright execution, CDP, or WebDriver BiDi"
44
---
55

6-
Kernel browsers expose four control primitives. For agents, we recommend [computer use](/browsers/computer-controls) or [playwright execution](/browsers/playwright-execution) — both run co-located with the browser and avoid the bot-detection surface a direct CDP connection introduces.
6+
Kernel browsers expose four ways to drive a session. For agents, we recommend [computer use](/browsers/computer-controls) or [playwright execution](/browsers/playwright-execution) — both run co-located with the browser and avoid the bot-detection surface a direct CDP connection introduces.
77

88
<Tabs>
99
<Tab title="Computer Use">
@@ -50,7 +50,7 @@ Kernel browsers expose four control primitives. For agents, we recommend [comput
5050
</CodeGroup>
5151
</Tab>
5252
<Tab title="Playwright Execution">
53-
Run arbitrary Playwright code in a fresh context inside the browser's VM. No local Playwright install, no CDP connection to manage — your code runs co-located with the browser and returns structured data back to your agent. Ships with [Patchright](/browsers/bot-detection/stealth) by default.
53+
Run any Playwright code from anywhere — no local Playwright install, no Chromium download, no CDP connection to manage. Your code executes inside the browser's VM with the full Playwright API in scope and returns structured data back to your agent. Ships with [Patchright](/browsers/bot-detection/stealth) by default.
5454

5555
<CodeGroup>
5656
```typescript Typescript/Javascript
@@ -151,10 +151,10 @@ Kernel's computer controls are built to match how computer-use models were train
151151

152152
## Why playwright execution over a direct CDP connection
153153

154-
If you're reaching for Playwright, prefer the execution API over `connectOverCDP`. Your code runs in the same VM as the browser, with the same Playwright API surface you already know.
154+
If you're reaching for Playwright, prefer the execution API over `connectOverCDP`. Same Playwright API you already know, none of the setup.
155155

156-
- **Co-located.** No network hop between your code and the browser — faster, fewer flakes.
157-
- **No local install.** No `playwright` package to version-pin, no CDP connection to manage.
156+
- **Run from anywhere.** No `playwright` package to version-pin, no Chromium download, no CDP connection to manage. Send the code, get the result.
157+
- **Co-located with the browser.** Code runs in the same VM as the browser — no network hop between your script and the page, fewer flakes.
158158
- **Patchright by default.** Hardened against bot detection out of the box.
159159
- **Full Playwright API.** `page`, `context`, and `browser` are all in scope. Anything Playwright can do — DOM queries, file uploads, full-page screenshots — works here.
160160
- **Returns values.** `return` from your code and the result comes back in the response. Easy to use as an agent tool.

0 commit comments

Comments
 (0)