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: docs/use-cases/remote-browser.mdx
+4-15Lines changed: 4 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,28 +4,17 @@ description: "Use Kernel cloud browsers with E2B sandboxes for web scraping, app
4
4
icon: "globe"
5
5
---
6
6
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.
8
8
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.
10
10
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:
|`kernel-agent-browser`| Kernel SDK, Playwright, Browser Use | Autonomous AI agents that browse on their own |
26
17
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
-
29
18
## Prerequisites
30
19
31
20
- An [E2B API key](https://e2b.dev/dashboard?tab=keys)
@@ -77,7 +66,7 @@ sandbox.commands.run(
77
66
</Step>
78
67
79
68
<Steptitle="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.
0 commit comments