-
Notifications
You must be signed in to change notification settings - Fork 607
docs: update skills for v0.8.0 features and add comprehensive tests #284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
docs: update skills for v0.8.0 features and add comprehensive tests #284
Conversation
Add missing v0.7.0+ features to skill documentation: - download command and wait --download flag - --profile flag for persistent browser profiles - --args, --user-agent, --proxy-bypass flags - New environment variables (AGENT_BROWSER_PROFILE, AGENT_BROWSER_ARGS, etc.) New reference docs: - persistent-profiles.md: Browser profile persistence patterns - cloud-providers.md: Browserbase and Browser Use integration Updated proxy-support.md with CLI flags and stealth configuration. Closes vercel-labs#210 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
New references: - network-mocking.md: API mocking, request blocking, error simulation - semantic-locators.md: Role, text, label locators for stable automation - debugging.md: Troubleshooting, traces, common issues New templates: - download-workflow.sh: File downloads, exports, PDFs - network-mocking.sh: API mocking for testing UI states - multi-tab-workflow.sh: Multi-tab comparison and parallel ops Updated SKILL.md with links to all new documentation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Unit tests for skill documentation quality: - SKILL.md structure, frontmatter, sections, internal links - Reference documents existence, format, code examples - Template scripts syntax, shebang, executable permissions Integration tests: - CLI availability and command existence - Documentation-CLI alignment verification - Command coverage validation 29 new tests covering 10 reference docs and 6 templates. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The `agent-browser download` command does not exist. Downloads are performed via `click` + `wait --download`. Updated documentation to show correct pattern and removed expectation from tests. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Applies Vercel bot suggestion - the download-workflow.sh template also referenced the non-existent `agent-browser download` command. Removed and renumbered methods. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add missing AGENT_BROWSER_STATE environment variable - Update AGENT_BROWSER_PROVIDER comment to list all 3 providers Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add Kernel to supported providers table - Add complete Kernel setup section with env vars - Document Kernel-specific profile persistence feature - Update limitations to note Kernel exceptions - Fix browseruse provider name (was browser-use) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Document new cookie options from v0.7.6: - --url for setting cookies on specific URLs - --domain, --path for cookie scope - --httpOnly, --secure for security flags - --sameSite (Strict|Lax|None) policy - --expires for Unix timestamp expiry Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Not appropriate for upstream repo. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
@yonatangross is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
|
@ctate 👋 Could you please review when you get a chance? SummaryThis PR brings skills documentation fully up to date with v0.8.0, including:
CI Status
Windows Integration Test FailureThis is a GitHub Actions runner infrastructure issue, not code-related: This PR only modifies documentation files ( Could you re-run or investigate the Windows runner issue? Thanks! 🙏 |
Summary
Complete skills documentation update for agent-browser v0.8.0, including all new features, cloud providers, and comprehensive test coverage.
Changes Made
SKILL.md Updates
AGENT_BROWSER_STATEenvironment variableAGENT_BROWSER_PROVIDERto list all 3 providers (kernel, browserbase, browseruse)cookies setflags (--url,--domain,--path,--httpOnly,--secure,--sameSite,--expires)--debugflag documentation--ignore-https-errorsflag for self-signed certificates--profile,--args,--user-agent,--proxy-bypassflagsNew Reference Documents
persistent-profiles.md- Browser profile persistence patternscloud-providers.md- Kernel, Browserbase, and Browser Use integrationnetwork-mocking.md- API mocking, request blocking, error simulationsemantic-locators.md- Role, text, label locators for stable automationdebugging.md- Troubleshooting, traces, common issuesNew Templates
download-workflow.sh- File downloads, exports, PDFsnetwork-mocking.sh- API mocking for testing UI statesmulti-tab-workflow.sh- Multi-tab comparison and parallel opsTest Coverage
New
test/skills.test.tswith 29 tests covering:Verified Against
--helpoutput)cli/src/flags.rscli/src/commands.rssrc/browser.tsTest Plan
🤖 Generated with Claude Code