owenleezy/agent-browser-skill/agent-browser-e2e

Claude Code and agent skill by owenleezy/agent-browser-skill

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

[INTERNAL TEMPLATE] E2E verification execution protocol. Called by agent-browser orchestrator.

Install

npx vskill@latest install owenleezy/agent-browser-skill/agent-browser-e2e

SKILL.md

The same SKILL.md was published earlier as owenleezy/agent-browser-skill/agent-browser-e2e.

E2E Verification — Execution Protocol

Internal template. Entry point: agent-browser skill.

NEVER

NEVER assert state before `wait --load networkidle` — page may still be rendering
NEVER reuse refs after navigation — run `snapshot` again after every page change
NEVER leave `set offline on` after offline test — always restore with `set offline off`
NEVER skip `errors` check before test steps begin — pre-existing JS errors invalidate results

Execution Sequence

bash
# 1. Open and wait for stable state
AGENT_BROWSER_NATIVE=1 agent-browser open <url>
AGENT_BROWSER_NATIVE=1 agent-browser wait --load networkidle
# 2. Check for errors before any interaction
AGENT_BROWSER_NATIVE=1 agent-browser errors # → judgment gate if critical errors found
AGENT_BROWSER_NATIVE=1 agent-browser snapshot -i
# 3. Login — prefer Auth Vault over manual fill
# First time: save credentials once
AGENT_BROWSER_NATIVE=1 agent-browser auth save myapp --url <login-url> --username admin --password secret
# Every subsequent run: one command
AGENT_BROWSER_NATIVE=1 agent-browser auth login myapp
AGENT_BROWSER_NATIVE=1 agent-browser wait --load networkidle
# 4. Execute test steps (prefer semantic locators)
AGENT_BROWSER_NATIVE=1 agent-browser find label "Email" fill "test@example.com"
AGENT_BROWSER_NATIVE=1 agent-browser find role button click --name "Sign In"
# 5. After every navigation: re-snapshot + re-wait
AGENT_BROWSER_NATIVE=1 agent-browser wait --load networkidle
AGENT_BROWSER_NATIVE=1 agent-browser snapshot -i
# 6. Assert state
AGENT_BROWSER_NATIVE=1 agent-browser is visible @e3
AGENT_BROWSER_NATIVE=1 agent-browser is checked @e5
AGENT_BROWSER_NATIVE=1 agent-browser get text @e1
# 7. Capture evidence
AGENT_BROWSER_NATIVE=1 agent-browser screenshot --full result.png

Recovery Patterns

FailureRecovery
Element ref staleRe-run snapshot, relocate
Assertion content mismatchScreenshot + judgment gate
Page not loadingwait --load networkidle + retry up to 3x
Staging cert error--ignore-https-errors (never in production)
Slow pageAGENT_BROWSER_DEFAULT_TIMEOUT=60000
Output truncated on large pages--max-output <chars> to increase limit

Judgment Gates

Pause and ask user when:

  • JS errors found before test steps begin
  • Expected content ≠ actual (may be a bug)
  • Test step fails after all retries exhausted

Device & Environment Variants

bash
# Mobile viewport
AGENT_BROWSER_NATIVE=1 agent-browser set device "iPhone 15 Pro"
# Offline / PWA
AGENT_BROWSER_NATIVE=1 agent-browser set offline
AGENT_BROWSER_NATIVE=1 agent-browser reload
# ... assert offline state ...
AGENT_BROWSER_NATIVE=1 agent-browser set offline off # ALWAYS restore
# Geo-aware
AGENT_BROWSER_NATIVE=1 agent-browser set geo 31.2304 121.4737

Pitfalls

MistakeFix
Assert before page loadswait --load networkidle first
Stale refs after navigationRe-run snapshot after every nav
set offline left onAlways set offline off after offline test
Staging cert error--ignore-https-errors — never in production
find ref e3 fill "..."❌ ref is NOT a valid find subcommand. Use @ref directly: fill @e3 "text" / click @e3
Ambiguous label in dialogsWhen a modal is open, find label "X" matches the first element on page — may hit background filters instead of the dialog field. Prefer find placeholder "..." or scope with snapshot -s ".dialog-class" first
App opens new tab (window.open)agent-browser stays on original tab. Detect with tab list, then switch: tab 1 (0-based index)
javascript "..." doesn't existJS execution is eval "JS code" — not javascript
Dialog blocking clickdialog status to confirm, then dialog dismiss or dialog accept
Waiting for downloadwait --download <path> after clicking the download trigger — don't rely on fixed wait 3000

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/owenleezy/agent-browser-skill/agent-browser-e2e/badge)](https://verified-skill.com/skills/owenleezy/agent-browser-skill/agent-browser-e2e)

Something wrong with this skill or its page? Tell us.