CBrowser: AI-Native Browser Automation for PAI #566
Closed
alexandriashai
started this conversation in
Show and tell
Replies: 1 comment
-
|
Really cool stuff. I recently just upgraded to Playwright CLI and browser automation agent, which should be coming in 3.1. This is something interesting to look at as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
CBrowser: AI-Native Browser Automation for PAI
Skill:
/CBrowserVersion: 7.4.8
Author: @alexandriashai
TL;DR
I built CBrowser (Cognitive Browser) - a PAI skill for advanced browser automation scenarios. It extends what's possible with AI-native features like self-healing selectors, constitutional safety, persona testing, and session persistence.
Install in 30 seconds:
Then add to
~/.claude/skills/skill-index.json:{"CBrowser": "~/.claude/skills/CBrowser/SKILL.md"}When to Use Each
The built-in
/Browserskill and CBrowser serve different purposes:/Browser- simple, fast, built-in/Browser- no setup needed/CBrowser- sessions survive across calls/CBrowser- built-in persona framework/CBrowser- explores without scripts/CBrowser- constitutional zones prevent accidentsThey complement each other. I still use the built-in Browser skill for quick checks. CBrowser is for when I need the full automation toolkit.
What's New in v7.4.8
Bug Fix: Natural language test assertions now work without quotes:
New assertion aliases:
ensure,includes,the,presentKey Features
1. AI Vision Selectors
When the site redesigns, your automation keeps working because it understands intent, not just DOM structure.
2. Self-Healing Selectors
When an element isn't found, CBrowser:
3. Session Persistence
Sessions persist cookies, localStorage, and sessionStorage across CLI calls.
4. Constitutional Safety
Every action is classified by risk:
Essential guardrails when AI agents operate autonomously.
5. Persona-Based Testing
Each persona has realistic timing, error rates, and attention patterns. Find accessibility issues you'd miss testing as yourself.
6. AI Visual Regression (v7.0+)
Semantic screenshot comparison - the AI understands "button moved" vs "button disappeared" vs "button text changed". No more false positives from anti-aliasing.
7. Natural Language Test Suites
# Write tests in plain English npx cbrowser test-suite tests.txt# Test: Login Flow go to https://example.com click the login button type "user@example.com" in email field verify url contains /dashboardFull Feature List
31 MCP tools total.
Installation
One-Line Install
curl -fsSL https://raw.githubusercontent.com/alexandriashai/cbrowser/main/scripts/install-skill.sh | bashPost-Install
Add to
~/.claude/skills/skill-index.json:{"CBrowser": "~/.claude/skills/CBrowser/SKILL.md"}Remote MCP (Bonus)
Use CBrowser in claude.ai with zero local installation:
Demo (rate limited):
https://cbrowser-mcp-demo.wyldfyre.ai/mcpAuthenticated:
https://cbrowser-mcp.wyldfyre.ai/mcp(Auth0 OAuth)Links
Questions?
Happy to answer questions about the implementation, constitutional safety, or specific use cases.
MIT licensed - fork it, extend it, make it your own.
Beta Was this translation helpful? Give feedback.
All reactions