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: README.md
+51-14Lines changed: 51 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -692,27 +692,64 @@ agent-knowledge/
692
692
693
693
### /web-ctl
694
694
695
-
**Purpose:** Browser automation for AI agents — navigate, authenticate, and interact with web pages.
695
+
**Purpose:** Browser automation for AI agents - navigate, authenticate, and interact with web pages.
696
696
697
-
**What it does:**
697
+
**How it works:**
698
+
699
+
Each invocation is a single Node.js process using Playwright. No daemon, no MCP server. Session state persists via Chrome's userDataDir with AES-256-GCM encrypted storage.
700
+
701
+
```
702
+
Agent calls skill -> node scripts/web-ctl.js <args> -> Playwright API -> JSON result
2.`session auth <name> --url <login-url>` - Opens headed Chrome for human login (2FA, CAPTCHAs). Polls for success URL/selector, encrypts cookies on completion
709
+
3.`run <name> <action>` - Headless actions using persisted cookies
710
+
4.`session end <name>` - Cleanup
711
+
712
+
**Actions:**
698
713
699
-
1.**Session Management** - Persistent browser sessions with AES-256-GCM encrypted storage
700
-
2.**Auth Handoff** - Opens a headed browser for the user to complete login; agent monitors for success
0 commit comments