返回 Skill 列表
extension
分类: 开发与工程无需 API Key

jb-browser-testing

私有浏览器测试规则适用于jb工作流程。优先选择playwriter_exec并小心选择标签页,其次使用agent-browser,并避免使用playwright-mcp。

person作者: jakexiaohubgithub

JB Browser Testing

Rules

  • Primary: Use Vercel's agent-browser skill / CLI for browser debugging and testing. Before issuing CLI commands, load its installed, version-matched workflow with agent-browser skills get core.
  • Chrome DevTools MCP: Use the jb-chrome-mcp skill when the user explicitly requests Chrome MCP/DevTools MCP. Otherwise, use it as the fallback when agent-browser is unavailable or clearly unsuitable—especially for inspecting the user's existing Chrome tabs or DevTools-specific diagnostics. Follow that skill's bootstrap and real-profile reattachment rules.
  • Visible debugging: Use agent-browser --headed when inspecting visual behavior, reproducing UI issues, or when the user needs to interact with the browser window.
  • Prepared sessions: Isolate work with a stable named --session. For a session that must survive relaunches (including an authenticated login), add --restore; reuse the same session name for every command. Check authenticated restoration with an appropriate --restore-check-* option when practical.
  • Credentials and state: Prefer the agent-browser auth vault for stored login credentials. For existing authenticated browser data, import a user-provided file with cookies set --curl <file> or load a state file. Never put passwords, cookies, tokens, or exported state contents in commands, chat, repository files, or commits; state files are secrets.
  • Avoid: Do not use playwriter, playwright-mcp, or playwright - opencode (built-in) for JB browser debugging workflows.