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
PostHog Code can give local agent sessions browser automation tools through an isolated Playwright MCP server.
6
+
7
+
## Enable it
8
+
9
+
1. Install Google Chrome.
10
+
2. Open **Settings → Advanced**.
11
+
3. Enable **Browser use**.
12
+
4. Start a new local session.
13
+
14
+
The setting applies when a session starts. Existing sessions are unchanged.
15
+
16
+
## Behavior
17
+
18
+
- Browser use is opt-in and disabled by default.
19
+
- It is available only to local sessions.
20
+
- Each session launches an isolated Chrome profile, so it does not inherit cookies or logins from the user's normal browser profile.
21
+
- Tool calls and screenshots use the existing MCP tool-call pipeline.
22
+
- Cloud sessions do not receive the local browser server.
23
+
24
+
## Scope
25
+
26
+
This feature automates websites in a dedicated Chrome window. It does not control arbitrary desktop applications or the user's existing browser windows.
27
+
28
+
## Implementation
29
+
30
+
The workspace session layer injects a pinned `@playwright/mcp` stdio server for every supported local agent adapter instead of maintaining a bespoke browser-control protocol. This keeps browser lifecycle, accessibility snapshots, input actions, and image responses on Playwright's supported MCP implementation while reusing PostHog Code's existing MCP tool-call and approval surfaces.
@@ -88,6 +90,12 @@ export function AdvancedSettings() {
88
90
)}
89
91
</Flex>
90
92
</SettingRow>
93
+
<SettingRow
94
+
label="Browser use"
95
+
description="Let local agent sessions launch an isolated Google Chrome window and interact with websites. Experimental; requires Chrome to be installed"
0 commit comments