Skip to content

docs: add Browserbase + Python integration page#14

Merged
twschiller merged 3 commits into
mainfrom
docs/browserbase-python
May 30, 2026
Merged

docs: add Browserbase + Python integration page#14
twschiller merged 3 commits into
mainfrom
docs/browserbase-python

Conversation

@twschiller
Copy link
Copy Markdown
Contributor

Summary

  • Adds docs/src/content/docs/browserbase-python.md covering how to upload the extension to Browserbase and drive a session from Python (raw Playwright + a pointer to scripts/agent_task.py for Stagehand).
  • Wires the new page into the Starlight sidebar between Install and OpenClaw.
  • Defers extension-API details to the Browserbase docs and focuses on what's specific to agent-browser-shield: extension-id is session-bound (can't be attached later), DOM markers to look for, and the skill file for briefing the agent on the shield's DOM modifications.

Test plan

  • bun run build in docs/ succeeds and emits /browserbase-python/index.html.
  • Spot-check the rendered page locally (bun run dev) for sidebar placement and code-block formatting.

🤖 Generated with Claude Code

Covers uploading the extension, creating a session with extension_id, and
driving it via Playwright or higher-level frameworks. Defers extension API
details to Browserbase docs and focuses on the agent-browser-shield specifics
(session-bound extension, DOM markers, skill-briefing).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-browser-shield-demo-site Ready Ready Preview, Comment May 30, 2026 1:49pm

Request Review

Restructure the page into two driver paths (Stagehand-managed agent run vs.
Playwright over CDP), with a tradeoffs section up top. Stagehand example now
shows the full sessions.start → sessions.execute streaming flow that mirrors
scripts/agent_task.py. Skill-briefing section updated to call out which path
needs the brief prepended where.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@twschiller twschiller merged commit 000eaa8 into main May 30, 2026
7 checks passed
@twschiller twschiller deleted the docs/browserbase-python branch May 30, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant