Skip to content

Commit 6b8fd28

Browse files
committed
docs: Improve remote browser page flow and structure
1 parent aca66d3 commit 6b8fd28

1 file changed

Lines changed: 4 additions & 15 deletions

File tree

docs/use-cases/remote-browser.mdx

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,17 @@ description: "Use Kernel cloud browsers with E2B sandboxes for web scraping, app
44
icon: "globe"
55
---
66

7-
[Kernel](https://www.kernel.computer/) provides cloud browsers — remote Chromium instances your agents can control via [CDP](https://chromedevtools.github.io/devtools-protocol/) (Chrome DevTools Protocol).
7+
[Kernel](https://www.kernel.computer/) provides cloud browsers — remote Chromium instances your agents can control through Playwright. Instead of running a browser inside the sandbox, your agent connects to a Kernel browser over the network.
88

9-
## Why use a remote browser?
9+
This keeps your sandbox lightweight — no Chrome installation, no GPU-hungry rendering. Kernel also handles CAPTCHA and bot detection with stealth mode, residential proxies, and persistent browser profiles. You can spin up multiple browsers simultaneously from a single sandbox.
1010

11-
Running a browser inside the sandbox works, but offloading it to Kernel has real advantages:
12-
13-
- **Keeps your sandbox lightweight** — Chromium is resource-hungry. Offloading it to Kernel frees your sandbox CPU and memory for your agent's actual work.
14-
- **Zero installation** — no need to install Chrome, Chromium, or Playwright binaries in your sandbox template. Kernel provides the browser remotely.
15-
- **Built-in CAPTCHA and bot detection handling** — Kernel browsers support stealth mode, residential proxies, and browser profiles that persist cookies and sessions across runs.
16-
- **Parallel browsing** — spin up multiple Kernel browsers simultaneously from a single sandbox.
17-
18-
## Two approaches
19-
20-
E2B provides pre-built sandbox templates with the Kernel SDK already installed:
11+
E2B provides two pre-built sandbox templates with the Kernel SDK already installed:
2112

2213
| Template | What's included | Best for |
2314
|---|---|---|
2415
| `kernel-browser` | Kernel SDK, Playwright | Programmatic browsing — screenshots, scraping, app previews |
2516
| `kernel-agent-browser` | Kernel SDK, Playwright, Browser Use | Autonomous AI agents that browse on their own |
2617

27-
Both templates connect to Kernel browsers over CDP. The difference is whether *you* write the browsing logic or an *LLM agent* decides what to do.
28-
2918
## Prerequisites
3019

3120
- An [E2B API key](https://e2b.dev/dashboard?tab=keys)
@@ -77,7 +66,7 @@ sandbox.commands.run(
7766
</Step>
7867

7968
<Step title="Get the public URL and browse with Kernel">
80-
E2B exposes any sandbox port as a public HTTPS endpoint. A script inside the sandbox creates a Kernel browser, connects via Playwright CDP, and screenshots each route.
69+
E2B exposes any sandbox port as a public HTTPS endpoint. A script inside the sandbox creates a Kernel browser, connects via Playwright, and screenshots each route.
8170

8271
```python
8372
host = sandbox.get_host(8000)

0 commit comments

Comments
 (0)