[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71KXQZ09B9TK0PH5T1EE3AA":3,"skill-same:01M71KXQZ09B9TK0PH5T1EE3AA":93},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":70,"commitSha":71,"skillDirectory":72,"forksCount":73,"repositoryHtmlUrl":74,"repositoryHomepageUrl":75,"ownerHtmlUrl":76,"ownerBlogUrl":77,"ownerDescription":6,"updatedAt":78,"install":79,"resources":92},"01M71KXQZ09B9TK0PH5T1EE3AA","agent-browser-testing",null,"UI QA and browser automation with the native monomind browse CDP client: discovery, user flows, performance profiling, and pass\u002Ffail\u002Fwarn reports.","monoes\u002Fmonomind","monoes","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F276744696?v=4","01M71KWF37AJ2NJBP3KWBVSDGT","01M71KWF4CSF8ADH0M6HA09VD2",23,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fagent-browser-testing\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"testing","agent browser","browser","agent browser testing","browser testing","browse","form","do","visual test","ui","go","website","log","scrape","open","frontend","browser automation","agent-browser","browser test","cdp","2026-11-10 10:56:23",false,"---\nname: agent-browser-testing\ndescription: \"UI QA and browser automation with the native monomind browse CDP client: discovery, user flows, performance profiling, and pass\u002Ffail\u002Fwarn reports.\"\nversion: 4.0.0\ntriggers:\n  - \u002Fagent-browser-testing\n  - \u002Fui-test\n  - \u002Fmonobrowse\n  - \u002Fqa\n  - \u002Fcrawl\n  - ui test\n  - test the UI\n  - browser test\n  - test this system\n  - walk through\n  - check the UI\n  - QA this\n  - test frontend\n  - visual test\n  - crawl\n  - scrape\n  - browse the website\n  - go to the website\n  - open the website\n  - navigate to\n  - click on the website\n  - do this on the website\n  - automate the browser\n  - fill out the form\n  - log into\n  - sign in to\ntools:\n  - Bash\n---\n\n# Agent Browser Testing — Full QA Suite\n\n**Engine:** `npx monomind browse` — native TypeScript CDP client. No Playwright, no Puppeteer, no external binary. Every command below goes through this single infrastructure.\n\n**CRITICAL RULE:** Never use `mcp__claude-in-chrome__*`, `mcp__plugin_playwright__*`, or any other browser tool. Always use `npx monomind browse`.\n\n---\n\n## Commands at a Glance\n\nAll 55 subcommands — grouped by what they do.\n\n| Group | Commands |\n|---|---|\n| **Open \u002F Navigate** | `open`, `navigate back\\|forward\\|reload`, `pushstate`, `connect`, `close` |\n| **Inspect** | `snapshot`, `get url\\|title\\|text\\|html\\|value\\|attr\\|count\\|box\\|styles`, `errors`, `console` |\n| **Find** | `find role\\|text\\|label\\|placeholder\\|testid\\|alttext\\|title\\|selector` |\n| **Assert** | `is visible\\|enabled\\|checked`, `isvisible`, `isenabled`, `ischecked` |\n| **Click \u002F Tap** | `click`, `dblclick`, `tap`, `hover`, `focus` |\n| **Type \u002F Fill** | `fill`, `type`, `keyboard type\\|inserttext`, `keydown`, `keyup`, `press` |\n| **Form** | `select`, `check`, `uncheck`, `upload` |\n| **Scroll \u002F Drag** | `scroll`, `scrollintoview`, `drag`, `swipe up\\|down\\|left\\|right` |\n| **Mouse (raw)** | `mouse move\\|down\\|up\\|wheel` |\n| **Wait** | `wait --text\\|--not-text\\|--url\\|--selector\\|--load\\|--ms\\|--fn\\|--download` |\n| **Download** | `download \u003Cref> \u003Cpath>`, `wait --download \u003Cpath>` |\n| **Screenshot \u002F PDF** | `screenshot`, `pdf`, `highlight`, `diff url` |\n| **Clipboard** | `clipboard read\\|write\\|copy\\|paste` |\n| **Dialogs** | `dialog accept\\|dismiss\\|status` |\n| **Tabs** | `tab list\\|new\\|close\\|\u003CtargetId>` |\n| **Windows** | `window new [url]` (isolated context \u002F incognito) |\n| **Frames** | `frame \u003Cref>\\|main` |\n| **Storage** | `storage local\\|session`, `cookies list\\|set\\|clear` |\n| **Network** | `network route\\|unroute\\|headers\\|capture\\|requests\\|request` |\n| **Emulation** | `set device\\|media\\|geo\\|offline\\|useragent\\|viewport\\|credentials`, `resize` |\n| **Session** | `state save\\|load\\|list\\|show\\|clear\\|rename\\|clean`, `open --session\\|--state` |\n| **JS \u002F Init** | `eval`, `eval --stdin`, `addinitscript`, `removeinitscript` |\n| **Record** | `record start\\|stop\\|restart\\|status` |\n| **Performance** | `vitals`, `trace start\\|stop\\|status`, `profiler start\\|stop\\|heap`, `har start\\|stop\\|status` |\n| **Batch** | `batch \"cmd1\" \"cmd2\" ...` |\n\n---\n\n## QA Execution Protocol\n\nWhen this skill is invoked, run ALL phases unless the user specifies a subset.\n\n### Phase 0 — Pre-flight\n\n```bash\n# Verify server is reachable before starting\nnpx monomind browse open \u003Curl>\nnpx monomind browse get url          # confirm we landed on the right page\nnpx monomind browse get title\nnpx monomind browse errors           # baseline — clear before testing\n```\n\n### Phase 1 — Discovery & Structure Audit\n\n```bash\nnpx monomind browse snapshot         # full AX tree — understand page structure\nnpx monomind browse snapshot -i      # interactive-only (93% less context)\nnpx monomind browse find role link   # enumerate all links\nnpx monomind browse find role button # enumerate all buttons\nnpx monomind browse find role heading # heading hierarchy\nnpx monomind browse find role form   # form elements\nnpx monomind browse find role image  # images (check alt text in snapshot)\n```\n\n**Report:** page structure, heading hierarchy, interactive element count, any obvious missing landmarks.\n\n### Phase 2 — Golden Path Testing\n\nExecute the primary user flow end-to-end. Pattern:\n\n```bash\nnpx monomind browse open \u003Curl>\nnpx monomind browse snapshot -i\n# identify refs → act → re-snapshot → verify\n\nnpx monomind browse fill @e1 \"value\"\nnpx monomind browse click @e2\nnpx monomind browse wait --text \"expected result\"\nnpx monomind browse snapshot -i\nnpx monomind browse errors           # check after every major action\n```\n\n**Report:** each step result, any deviations from expected state.\n\n### Phase 3 — Edge Case & Validation Testing\n\n```bash\n# Empty submission\nnpx monomind browse click @submit_btn\nnpx monomind browse wait --text \"required\" --timeout 3000\nnpx monomind browse snapshot -i\n\n# Invalid input\nnpx monomind browse fill @email_field \"not-an-email\"\nnpx monomind browse click @submit_btn\nnpx monomind browse snapshot -i\n\n# Boundary values\nnpx monomind browse fill @text_field \"\"               # empty\nnpx monomind browse fill @text_field \"a\"              # min\nnpx monomind browse fill @text_field \"$(python3 -c 'print(\"x\"*1000)')\"  # overflow\n\n# Element state checks\nnpx monomind browse is visible @e5\nnpx monomind browse is enabled @e3\nnpx monomind browse is checked @e7\n```\n\n### Phase 4 — Cross-Device & Responsive\n\n```bash\n# Mobile\nnpx monomind browse set device \"iPhone 14\"\nnpx monomind browse screenshot mobile-portrait.png\nnpx monomind browse snapshot -i\n\n# Tablet\nnpx monomind browse set device \"iPad Pro\"\nnpx monomind browse screenshot tablet.png\n\n# Desktop wide\nnpx monomind browse resize 1920 1080\nnpx monomind browse screenshot desktop-wide.png\n\n# Dark mode\nnpx monomind browse set media dark\nnpx monomind browse screenshot dark-mode.png\nnpx monomind browse set media light\n\n# Reset\nnpx monomind browse resize 1280 800\n```\n\n### Phase 5 — Keyboard & Accessibility\n\n```bash\n# Tab order — tab through every focusable element\nnpx monomind browse focus @e1\nnpx monomind browse press Tab\nnpx monomind browse snapshot -i       # repeat until full cycle\n\n# ARIA roles present\nnpx monomind browse find role navigation\nnpx monomind browse find role main\nnpx monomind browse find role banner\n\n# Keyboard activation\nnpx monomind browse press Enter        # activate focused element\nnpx monomind browse press Escape       # close modals\u002Fdropdowns\nnpx monomind browse press Space        # toggle checkboxes\n\n# Keyboard combos (key combos must use press, not keyboard)\nnpx monomind browse press \"Control+A\"\nnpx monomind browse press \"Control+Z\"\n```\n\n### Phase 6 — Network & Error Monitoring\n\n```bash\n# Start network capture before the flow\nnpx monomind browse har start\n# ... run the flow ...\nnpx monomind browse har stop --bodies --json   # --bodies only valid on stop\n\n# Check for failed requests during testing\nnpx monomind browse network requests --json\n\n# Simulate offline\nnpx monomind browse set offline true\nnpx monomind browse snapshot -i        # should show graceful offline state\nnpx monomind browse set offline false\n\n# Final error check\nnpx monomind browse console           # all console output\nnpx monomind browse errors            # JS exceptions only\n```\n\n### Phase 7 — Performance Audit\n\n```bash\n# Core Web Vitals\nnpx monomind browse vitals --wait 3000 --json\n\n# Full trace (open DevTools-compatible)\nnpx monomind browse trace start --screenshots\n# ... trigger the critical user flow ...\nnpx monomind browse trace stop .\u002Fqa-trace.json\n\n# HAR for waterfall analysis\nnpx monomind browse har start\nnpx monomind browse navigate reload\nnpx monomind browse wait --load networkidle\nnpx monomind browse har stop --bodies --json\n```\n\n**Report vitals thresholds:**\n- LCP \u003C 2.5s = PASS, 2.5–4s = WARN, >4s = FAIL\n- CLS \u003C 0.1 = PASS, 0.1–0.25 = WARN, >0.25 = FAIL\n- FCP \u003C 1.8s = PASS, 1.8–3s = WARN, >3s = FAIL\n\n---\n\n## Core Testing Loop\n\n```\nOPEN → SNAPSHOT → ACT → SNAPSHOT → VERIFY → REPEAT\n```\n\n```bash\nnpx monomind browse open \u003Curl>\nnpx monomind browse snapshot -i\nnpx monomind browse click @e1\nnpx monomind browse fill @e2 \"value\"\nnpx monomind browse press Enter\nnpx monomind browse snapshot -i\nnpx monomind browse get text @e5\nnpx monomind browse get url\nnpx monomind browse wait --text \"Success\"\nnpx monomind browse errors\n```\n\n---\n\n## Full Command Reference\n\n### Navigation & Window\n\n```bash\nnpx monomind browse open \u003Curl>                    # open URL (launches Chrome if needed)\nnpx monomind browse open \u003Curl> --headless         # headless mode\nnpx monomind browse open \u003Curl> --session \u003Cname>   # restore saved session\nnpx monomind browse open \u003Curl> --state \u003Cfile>     # restore from state file\nnpx monomind browse navigate back\nnpx monomind browse navigate forward\nnpx monomind browse navigate reload\nnpx monomind browse pushstate \u002Fpath               # SPA client-side nav\nnpx monomind browse resize 1280 800\nnpx monomind browse connect --port 9222           # attach to running Chrome\nnpx monomind browse connect --port 9222 --target \u003Cid>\nnpx monomind browse close\n```\n\n### Snapshot & Element Discovery\n\n```bash\nnpx monomind browse snapshot                      # full AX tree\nnpx monomind browse snapshot -i                   # interactive elements only\nnpx monomind browse snapshot --compact            # compact format\nnpx monomind browse snapshot --json               # machine-readable\nnpx monomind browse snapshot --depth 3            # limit tree depth\nnpx monomind browse snapshot --selector \"#modal\"  # scope to element\n\nnpx monomind browse get url\nnpx monomind browse get title\nnpx monomind browse get text               # full page text\nnpx monomind browse get text @eN          # element text\nnpx monomind browse get html               # full page HTML (ref arg is ignored — always returns full doc)\n# for element HTML: npx monomind browse eval \"document.querySelector('...').outerHTML\"\nnpx monomind browse get value @eN\nnpx monomind browse get attr @eN href\nnpx monomind browse get count \"button\"    # count elements matching CSS selector\nnpx monomind browse get box @eN           # bounding box {x,y,width,height}\nnpx monomind browse get styles @eN        # computed styles\nnpx monomind browse is checked @eN\n```\n\n### Element Finders (semantic — no CSS selectors needed)\n\n```bash\nnpx monomind browse find role button              # by ARIA role\nnpx monomind browse find role button --name \"Submit\"\nnpx monomind browse find text \"Delete\"            # by visible text\nnpx monomind browse find label \"Email\"            # by label text\nnpx monomind browse find testid \"submit-btn\"      # by data-testid\nnpx monomind browse find alttext \"Company logo\"   # by alt attribute (images)\nnpx monomind browse find title \"More options\"     # by title attribute (tooltips)\nnpx monomind browse find role link --nth 2        # nth match\nnpx monomind browse find role image --last        # last match\nnpx monomind browse find placeholder \"Search...\"  # by placeholder text\nnpx monomind browse find selector \"div.modal\"     # by CSS selector\n\n# Inline action after find\nnpx monomind browse find role button --name \"Submit\" click\nnpx monomind browse find label \"Email\" fill \"test@example.com\"\nnpx monomind browse find text \"Delete\" click\n\n# State checks\nnpx monomind browse is visible @eN\nnpx monomind browse is enabled @eN\nnpx monomind browse is checked @eN\n```\n\n### Window Management (Isolated Contexts)\n\n```bash\n# Open a new isolated browser window (like incognito — separate cookies\u002Fstorage)\nnpx monomind browse window new\nnpx monomind browse window new https:\u002F\u002Fapp.example.com\n\n# Useful for multi-user testing (e.g. admin + regular user simultaneously):\n# 1. Connect once, then open isolated windows for each user role\nnpx monomind browse connect --port 9222\nnpx monomind browse window new                 # switches to new isolated context\nnpx monomind browse open https:\u002F\u002Fapp.example.com\u002Flogin\nnpx monomind browse fill @e1 \"admin@example.com\"\n# ...\n\n# Tab management (within the same context)\nnpx monomind browse tab                        # list all tabs\nnpx monomind browse tab new https:\u002F\u002Fexample.com\nnpx monomind browse tab close \u003CtabId>\nnpx monomind browse tab \u003CtabId>               # switch to tab\n```\n\n### Interaction\n\n```bash\nnpx monomind browse click @eN\nnpx monomind browse click @eN --right            # right-click\nnpx monomind browse click @eN --double           # double-click (or dblclick)\nnpx monomind browse dblclick @eN\nnpx monomind browse hover @eN\nnpx monomind browse focus @eN\nnpx monomind browse fill @eN \"text\"              # clear + type (fast)\nnpx monomind browse type @eN \"text\"              # char-by-char (triggers keypress)\nnpx monomind browse press Enter                  # key on focused element\nnpx monomind browse press Tab\nnpx monomind browse press Escape\nnpx monomind browse press \"Control+A\"\nnpx monomind browse press \"Control+Shift+I\"      # key combos always use press\nnpx monomind browse keyboard type \"Hello\"        # insert text without targeting an element\nnpx monomind browse keyboard inserttext \"Hello\"  # alias for keyboard type\nnpx monomind browse keydown \"Shift\"\nnpx monomind browse keyup \"Shift\"\nnpx monomind browse select @eN \"Option A\"        # select dropdown option\nnpx monomind browse check @eN\nnpx monomind browse uncheck @eN\nnpx monomind browse scroll down 300                     # positional amount (shorthand)\nnpx monomind browse scroll down --amount 600            # scroll page\nnpx monomind browse scroll down --ref eN --amount 400   # scroll within element ref\nnpx monomind browse scroll down --selector \".sidebar\" 300  # scroll within CSS selector\nnpx monomind browse scrollintoview @eN\nnpx monomind browse drag @eN @eM                 # drag source to target\nnpx monomind browse upload @eN .\u002Ffile.pdf        # file input\nnpx monomind browse download @eN .\u002Freport.pdf   # click element, capture file download\nnpx monomind browse download \".export-btn\" .\u002Fdata.csv --timeout 15000\nnpx monomind browse highlight @eN               # visual debug highlight\n```\n\n### Low-Level Mouse\n\n```bash\nnpx monomind browse mouse move 400 300\nnpx monomind browse mouse down --button left\nnpx monomind browse mouse down --button right\nnpx monomind browse mouse up\nnpx monomind browse mouse wheel 0 0 200          # x y deltaY [deltaX] — scroll down 200px\n```\n\n### Clipboard\n\n```bash\nnpx monomind browse clipboard read\nnpx monomind browse clipboard write \"paste me\"\nnpx monomind browse clipboard copy    # copy selected text\nnpx monomind browse clipboard paste   # paste at focused element\n```\n\n### Wait & Assertions\n\n```bash\nnpx monomind browse wait --text \"Success\"\nnpx monomind browse wait --not-text \"Loading\"\nnpx monomind browse wait --url \"**\u002Fdashboard\"\nnpx monomind browse wait --selector \"#modal\"\nnpx monomind browse wait --load networkidle\nnpx monomind browse wait --load load\nnpx monomind browse wait --load domcontentloaded\nnpx monomind browse wait --ms 500\nnpx monomind browse wait --fn \"window.__ready === true\"\nnpx monomind browse wait --text \"Done\" --timeout 10000\nnpx monomind browse wait --download .\u002Freport.pdf    # wait for browser-triggered download to complete\nnpx monomind browse wait --download .\u002Fdata.csv --timeout 15000\n```\n\n### Element State Checks (Assertions)\n\n```bash\nnpx monomind browse isvisible @e3          # true\u002Ffalse — is element visible?\nnpx monomind browse isenabled @e2          # true\u002Ffalse — is element enabled (not disabled)?\nnpx monomind browse ischecked @e1          # true\u002Ffalse — is checkbox\u002Fradio checked?\n\n# Also accepts CSS selectors\nnpx monomind browse isvisible \".submit-btn\"\nnpx monomind browse isenabled \"#email-input\"\nnpx monomind browse ischecked \"input[name='agree']\"\n\n# JSON output for scripting\nnpx monomind browse isvisible @e4 --json   # → {\"visible\": true}\n```\n\n**Use in test scripts:**\n```bash\n# Run snapshot, then assert expected state\nnpx monomind browse snapshot -i\nnpx monomind browse click @e3             # click submit\nnpx monomind browse wait --text \"Success\"\nnpx monomind browse isvisible \".success-banner\" --json\n```\n\n### Snapshot Regression Testing\n\n```bash\n# Save current snapshot as baseline\nnpx monomind browse snapshot -i --save .\u002Fbaselines\u002Fhomepage.txt\n\n# Later: compare against baseline (colored diff: green=added, red=removed)\nnpx monomind browse snapshot -i --diff .\u002Fbaselines\u002Fhomepage.txt\n# → Snapshot changed: +2 lines, -1 lines\n# + button \"Sign Out\" [@e12]\n# - button \"Sign In\" [@e8]\n\n# JSON output\nnpx monomind browse snapshot -i --diff .\u002Fbaselines\u002Fhomepage.txt --json\n\n# Content-safety flags (for agentic pipelines with untrusted pages)\nnpx monomind browse snapshot --content-boundaries          # wrap output in sentinel markers to prevent injection\nnpx monomind browse snapshot --max-output 10000            # truncate to 10k chars (prevents context blowout)\nnpx monomind browse snapshot --content-boundaries --max-output 8000  # both together\n\n# Compare two URLs side-by-side (navigates to each, diffs their snapshots)\nnpx monomind browse diff url https:\u002F\u002Fstaging.example.com https:\u002F\u002Fprod.example.com\nnpx monomind browse diff url https:\u002F\u002Fapp.com\u002Fv1 https:\u002F\u002Fapp.com\u002Fv2 --interactive\nnpx monomind browse diff url https:\u002F\u002Fbefore.com https:\u002F\u002Fafter.com --json\n```\n\n### Mobile Testing (Touch Events)\n\n```bash\n# Tap with touch event — useful for mobile-emulated layouts\nnpx monomind browse tap @e4\nnpx monomind browse tap \".mobile-nav-toggle\"\n\n# Swipe gestures — 10-step smooth touchMove sequence\nnpx monomind browse swipe up                        # swipe up 300px from center\nnpx monomind browse swipe down 500                  # swipe down 500px\nnpx monomind browse swipe left --x 300 --y 400     # swipe left from (300,400)\nnpx monomind browse swipe right 200 --x 50 --y 300 # swipe right 200px\n\n# Combine with device emulation\nnpx monomind browse set device \"iPhone 14\"\nnpx monomind browse snapshot -i\nnpx monomind browse tap @e2\nnpx monomind browse swipe up 400                    # scroll via swipe on mobile\n```\n\n### Screenshots & Visual Evidence\n\n```bash\nnpx monomind browse screenshot before.png\nnpx monomind browse screenshot --full page.png             # full-page\nnpx monomind browse screenshot --annotate out.png          # overlay @eN numbered labels (requires prior snapshot -i)\nnpx monomind browse screenshot --hide-scrollbars clean.png # hide native scrollbars via CSS injection\nnpx monomind browse screenshot --format webp --quality 90 out.webp\nnpx monomind browse screenshot --json                      # returns path as JSON\nnpx monomind browse pdf .\u002Foutput.pdf\nnpx monomind browse pdf --landscape .\u002Freport.pdf\n```\n\n**`--annotate` pattern:** always run `snapshot -i` first to populate refs, then `screenshot --annotate` to produce a screenshot with numbered labels at each element's position. Numbers match the `@eN` refs from the snapshot, so you can point to elements by number in bug reports.\n\n> **Note:** `--annotate` uses viewport-relative coordinates — do not combine with `--full`. On full-page captures, badges will be misaligned below the fold.\n\n```bash\nnpx monomind browse snapshot -i\nnpx monomind browse screenshot --annotate .\u002Fissue-001.png\n# → labels [1] [2] [3]... appear at each interactive element\n```\n\n### Console, Errors & JavaScript\n\n> **Console capture is always-on.** As soon as you `open` or `connect`, monobrowse hooks `Runtime.consoleAPICalled`, `Log.entryAdded`, and `Runtime.exceptionThrown` automatically. No `capture start` needed — messages accumulate in memory and `console`\u002F`errors` read from that buffer at any time.\n\n```bash\nnpx monomind browse console                      # all log\u002Fwarn\u002Ferror\u002Finfo messages since connect\nnpx monomind browse console --errors-only        # filter to error level only\nnpx monomind browse console --clear              # reset the buffer\nnpx monomind browse console --json               # machine-readable [{type, text, timestamp}]\nnpx monomind browse errors                       # uncaught JS exceptions (Runtime.exceptionThrown)\nnpx monomind browse errors --json                # [{text, url, lineNumber, columnNumber, timestamp}]\nnpx monomind browse errors --clear\n\nnpx monomind browse eval \"document.title\"\nnpx monomind browse eval \"document.querySelectorAll('button').length\"\nnpx monomind browse eval \"window.__store.getState()\" --json\n# Multiline JS via heredoc (--stdin reads from stdin)\ncat \u003C\u003C'EOF' | npx monomind browse eval --stdin\n  const items = document.querySelectorAll('li');\n  JSON.stringify([...items].map(i => i.textContent.trim()))\nEOF\nnpx monomind browse addinitscript \"window.__TEST__ = true\"   # runs on every page load\nnpx monomind browse removeinitscript \u003Cid>\n```\n\n### Network\n\n```bash\n# Route interception\nnpx monomind browse network route --pattern \"https:\u002F\u002Fapi.*\" --abort\nnpx monomind browse network route --pattern \"*\u002Fgraphql\" --fulfill '{\"data\":{}}' --status 200\nnpx monomind browse network route --pattern \"*.png\" --abort\nnpx monomind browse network unroute                           # disable ALL interception (pattern arg is ignored)\n\n# Extra headers for all requests\nnpx monomind browse network headers --headers '{\"X-Test\":\"true\"}'\n\n# Request log\nnpx monomind browse network capture start\nnpx monomind browse network capture stop\nnpx monomind browse network capture clear\nnpx monomind browse network requests --json\nnpx monomind browse network requests --filter \"api\u002Fusers\"            # filter by URL substring\nnpx monomind browse network requests --method POST                   # filter by HTTP method\nnpx monomind browse network requests --status-code 200               # filter by status code\nnpx monomind browse network requests --type xhr                      # filter by resource type\nnpx monomind browse network request \u003CrequestId>                      # full detail for one request\nnpx monomind browse network cookies             # cookies via network layer\n```\n\n### Tabs & Frames\n\n```bash\nnpx monomind browse tab list\nnpx monomind browse tab new https:\u002F\u002Fexample.com\nnpx monomind browse tab \u003CtargetId>               # switch to tab by id\nnpx monomind browse tab close \u003CtargetId>\nnpx monomind browse frame @eN                    # switch into iframe\nnpx monomind browse frame main                   # back to main frame\n```\n\n### Dialogs\n\n```bash\n# Auto-accepted by default. Override:\nnpx monomind browse dialog accept\nnpx monomind browse dialog accept \"confirm text\"\nnpx monomind browse dialog dismiss\nnpx monomind browse dialog status\n```\n\n### Storage & Cookies\n\n```bash\nnpx monomind browse storage local                        # list all entries\nnpx monomind browse storage local \u003Ckey>                  # get a specific key\nnpx monomind browse storage local \u003Ckey> --set \"value\"    # set a key\nnpx monomind browse storage local \u003Ckey> --remove         # remove a key\nnpx monomind browse storage local --clear                # clear all\nnpx monomind browse storage session                      # list all session entries\nnpx monomind browse storage session \u003Ckey>                # get session key\nnpx monomind browse cookies list\nnpx monomind browse cookies set --name token --value abc123\nnpx monomind browse cookies clear\n```\n\n### Device & Emulation\n\n```bash\nnpx monomind browse set device \"iPhone 14\"\nnpx monomind browse set device \"Galaxy S21\"\nnpx monomind browse set device \"iPad Pro\"\nnpx monomind browse set media dark\nnpx monomind browse set media light\nnpx monomind browse set geo 37.7749 -122.4194\nnpx monomind browse set offline true\nnpx monomind browse set offline false\nnpx monomind browse set useragent \"Mozilla\u002F5.0 ...\"\nnpx monomind browse set viewport 1440 900          # width height [deviceScaleFactor]\nnpx monomind browse set credentials user pass\n```\n\n### Session Persistence\n\n```bash\nnpx monomind browse state save \u003Cname>\nnpx monomind browse state load \u003Cname>\nnpx monomind browse state list\nnpx monomind browse state show        # inspect current active session\nnpx monomind browse state clear       # clear current active session\nnpx monomind browse state rename \u003Cold> \u003Cnew>           # rename a saved session\nnpx monomind browse state clean --older-than 7         # delete sessions older than N days (default: 7)\n```\n\n### Performance & Diagnostics\n\n> **DevTools panel coverage:**\n> ✅ Console panel — `console` \u002F `errors` (always-on, see above)\n> ✅ Network panel — `network requests` + filters, `network request \u003Cid>`, `har start\u002Fstop --bodies`\n> ✅ Performance panel — `trace start\u002Fstop` (exports Chrome DevTools-compatible `.json`)\n> ✅ Memory panel — `profiler heap .\u002Fheap.json` (heap snapshot)\n> ✅ Application panel — `storage`, `cookies`\n> ✅ Sources \u002F JS eval — `eval`, `eval --stdin`, `addinitscript`\n> ❌ Not available: source-map resolution for error stacks, live network waterfall, Lighthouse audit scores, Total Blocking Time metric\n\n```bash\n# Core Web Vitals (LCP \u003C 2.5s PASS, 2.5–4s WARN, >4s FAIL)\nnpx monomind browse vitals --wait 3000 --json\n\n# CPU profiler\nnpx monomind browse profiler start --interval 1000   # interval in microseconds (1000µs = 1ms)\nnpx monomind browse profiler stop --json\n\n# Heap snapshot\nnpx monomind browse profiler heap .\u002Fheap.json\n\n# Chrome trace (load in chrome:\u002F\u002Ftracing or Perfetto)\nnpx monomind browse trace start --screenshots\nnpx monomind browse trace stop .\u002Ftrace.json\nnpx monomind browse trace status\n\n# HAR (full HTTP archive with request\u002Fresponse bodies)\nnpx monomind browse har start\nnpx monomind browse har status\nnpx monomind browse har stop --bodies --json   # --bodies only valid on stop\n\n# Screen recording (frame sequence)\nnpx monomind browse record start --format jpeg --quality 80\nnpx monomind browse record status\nnpx monomind browse record stop --json\nnpx monomind browse record restart .\u002Ftake2.mp4   # atomically stop+start (no page reload)\n```\n\n### Batch Execution\n\n```bash\n# Run multiple commands in one CDP session (fastest for scripted flows)\nnpx monomind browse batch \"open https:\u002F\u002Fapp.com\" \"snapshot -i\" \"click @e3\" \"wait --text Done\"\nnpx monomind browse batch --bail \"open https:\u002F\u002Fapp.com\" \"click @e3\"   # stop on first error\n# Note: --json stdin pipe flag is declared but not implemented; use positional args only\n```\n\n---\n\n## Common QA Patterns\n\n### Login \u002F Auth Flow\n\n```bash\nnpx monomind browse open \u003Clogin-url>\nnpx monomind browse snapshot -i\nnpx monomind browse fill @e1 \"user@test.com\"\nnpx monomind browse fill @e2 \"TestPass123!\"\nnpx monomind browse click @e3\nnpx monomind browse wait --url \"**\u002Fdashboard\" --timeout 8000\nnpx monomind browse errors\nnpx monomind browse screenshot post-login.png\n```\n\n### Form with Validation\n\n```bash\nnpx monomind browse open \u003Cform-url>\nnpx monomind browse snapshot -i\n# Happy path\nnpx monomind browse fill @e1 \"John Doe\"\nnpx monomind browse fill @e2 \"john@test.com\"\nnpx monomind browse select @e3 \"Option A\"\nnpx monomind browse check @e4\nnpx monomind browse click @e5\nnpx monomind browse wait --text \"submitted\"\nnpx monomind browse screenshot form-success.png\n# Validation\nnpx monomind browse navigate back\nnpx monomind browse click @e5                    # submit empty\nnpx monomind browse snapshot -i                  # should show errors\n```\n\n### Multi-Step Wizard\n\n```bash\nnpx monomind browse open \u003Cwizard-url>\nnpx monomind browse snapshot -i\nnpx monomind browse fill @e1 \"value\"\nnpx monomind browse click @e2\nnpx monomind browse wait --text \"Step 2\"\nnpx monomind browse snapshot -i\nnpx monomind browse select @e3 \"choice\"\nnpx monomind browse click @e4\nnpx monomind browse wait --text \"Complete\"\nnpx monomind browse screenshot wizard-complete.png\n```\n\n### CRUD Operations\n\n```bash\n# Create\nnpx monomind browse click @new_btn\nnpx monomind browse fill @name_field \"New Item\"\nnpx monomind browse click @save_btn\nnpx monomind browse wait --text \"New Item\"\n# Update\nnpx monomind browse find text \"Edit\" click\nnpx monomind browse fill @name_field \"Updated Item\"\nnpx monomind browse click @save_btn\nnpx monomind browse wait --text \"Updated Item\"\n# Delete\nnpx monomind browse find text \"Delete\" click\nnpx monomind browse wait --text \"Are you sure\"\nnpx monomind browse click @confirm_btn\nnpx monomind browse wait --load networkidle\n```\n\n### API Mock Testing\n\n```bash\n# Intercept API, return controlled data\nnpx monomind browse network route --pattern \"*\u002Fapi\u002Fusers\" --fulfill '{\"users\":[]}' --status 200\nnpx monomind browse open \u003Curl>\nnpx monomind browse snapshot -i           # should show empty state UI\nnpx monomind browse screenshot empty-state.png\n# Intercept with error\nnpx monomind browse network route --pattern \"*\u002Fapi\u002Fusers\" --fulfill '{\"error\":\"forbidden\"}' --status 403\nnpx monomind browse navigate reload\nnpx monomind browse snapshot -i           # should show error state\n```\n\n---\n\n## Dogfood \u002F Exploratory QA Mode\n\nWhen asked to \"dogfood\", \"QA\", \"find bugs\", \"exploratory test\", or \"bug hunt\" a web app:\n\n### Setup\n\n```bash\nmkdir -p .\u002Fdogfood-output\u002Fscreenshots .\u002Fdogfood-output\u002Fvideos\n```\n\n### Workflow\n\n```\n1. Orient    → open URL, initial annotated screenshot, snapshot -i\n2. Explore   → visit each major section, test interactive elements\n3. Document  → screenshot + record for each issue found (as you go, not at end)\n4. Wrap up   → re-check console errors, write summary\n```\n\n### At each page\n\n```bash\nnpx monomind browse snapshot -i                                              # find interactive elements\nnpx monomind browse screenshot --annotate .\u002Fdogfood-output\u002Fscreenshots\u002F\u003Cpage>.png  # annotated overview\nnpx monomind browse errors                                                   # check for JS errors\nnpx monomind browse console                                                  # check console output\n```\n\n### Documenting an issue (repro-first)\n\nFor **interactive\u002Fbehavioral bugs** (require clicking or typing to reproduce):\n\n```bash\n# 1. Start recording before reproducing\nnpx monomind browse record start\n# 2. Walk through the steps (use type not fill during recording — shows keystrokes)\nnpx monomind browse screenshot .\u002Fdogfood-output\u002Fscreenshots\u002Fissue-001-step1.png\nnpx monomind browse type @eN \"input value\"\nnpx monomind browse click @eM\nnpx monomind browse screenshot --annotate .\u002Fdogfood-output\u002Fscreenshots\u002Fissue-001-result.png\n# 3. Stop recording\nnpx monomind browse record stop --json   # returns path to frames JSON\n```\n\nFor **static\u002Fvisible-on-load bugs** (typos, layout, placeholder text):\n\n```bash\nnpx monomind browse screenshot --annotate .\u002Fdogfood-output\u002Fscreenshots\u002Fissue-001.png\n# Single annotated screenshot is sufficient — no recording needed\n```\n\n### `type` vs `fill` during recording\n\nUse `type` (character-by-character) when recording a video so keystrokes are visible in the recording. Use `fill` (instant clear + set) for speed outside recording.\n\n### Reporting\n\nAim for 5–10 well-documented issues. Depth of evidence (annotated screenshots, step-by-step repro) beats quantity. Append each issue as you find it — never batch for the end.\n\n---\n\n## Task Walkthrough Mode\n\nWhen helping a user accomplish a task in a live UI:\n\n1. Ask for the URL if not provided\n2. `open` + `snapshot -i` — describe what's on screen (title, sections, available actions)\n3. Propose the steps to accomplish the task\n4. Execute step by step, narrating each action and what changed\n5. Confirm completion with a screenshot\n\n```bash\nnpx monomind browse open https:\u002F\u002Fapp.example.com\nnpx monomind browse snapshot -i\n# → \"I see: navbar with 'New Project' @e3, project list below with 2 items\"\nnpx monomind browse click @e3\nnpx monomind browse snapshot -i\n# → \"Modal opened: Name field @e8, Template selector @e9, Create @e11\"\nnpx monomind browse fill @e8 \"My Project\"\nnpx monomind browse click @e11\nnpx monomind browse wait --text \"My Project\"\nnpx monomind browse screenshot created.png\n# → \"Project created — visible in list\"\n```\n\n---\n\n## QA Report Format\n\nAfter every test session output a structured report:\n\n```\n## QA Report — \u003Curl> — \u003Cdate>\n\n### Summary\n- Pages tested: N\n- Total checks: N\n- PASS: N  WARN: N  FAIL: N\n\n### Results\n\nPASS  Login flow completes and redirects to \u002Fdashboard\nPASS  Form validation shows errors on empty submit\nWARN  LCP = 3.2s (threshold: 2.5s) — images not lazy-loaded\nFAIL  Delete confirmation dialog blocks further automation — avoid triggering\nFAIL  Mobile layout: navigation overflows viewport at 375px\n\n### JS Errors\n\u003Clist from `npx monomind browse errors`>\n\n### Performance\nLCP: Xs  CLS: X  FCP: Xs  TTFB: Xms\n\n### Screenshots\n- before-action.png\n- after-action.png\n- mobile-portrait.png\n```\n\n---\n\n## Memory Integration\n\n```bash\n# Store successful test patterns after a passing run\nnpx monomind memory store \\\n  --namespace ui-testing \\\n  --key \"login-flow-\u003Capp-name>\" \\\n  --value \"open→snapshot -i→fill @e1 email→fill @e2 pass→click @e3→wait dashboard\"\n\n# Retrieve before re-testing the same app\nnpx monomind memory search --query \"login flow\" --namespace ui-testing\n```\n\n---\n\n## Electron App Automation\n\nAutomate any Electron desktop app (VS Code, Slack, Discord, Figma, Notion, Spotify) via CDP — same snapshot-interact workflow as for web pages.\n\n### Launch with CDP port\n\n```bash\n# macOS — quit the app first if already running\nopen -a \"Slack\"   --args --remote-debugging-port=9222\nopen -a \"Visual Studio Code\" --args --remote-debugging-port=9223\nopen -a \"Discord\" --args --remote-debugging-port=9224\nopen -a \"Figma\"   --args --remote-debugging-port=9225\nopen -a \"Notion\"  --args --remote-debugging-port=9226\n\n# Linux\nslack --remote-debugging-port=9222\ncode  --remote-debugging-port=9223\n\n# Windows\n\"C:\\...\\slack.exe\" --remote-debugging-port=9222\n```\n\n### Connect and interact\n\n```bash\n# Connect to a specific port\nnpx monomind browse connect --port 9222\n\n# Auto-discover any running Chromium-based app on ports 9222 or 9229\nnpx monomind browse connect --auto-connect\n\n# Standard workflow from here\nnpx monomind browse snapshot -i\nnpx monomind browse click @e5\nnpx monomind browse screenshot --annotate slack-desktop.png\n```\n\n`--auto-connect` probes ports 9222 and 9229 in order and connects to the first responding Chrome\u002FElectron instance.\n\n### Tab and webview management\n\nElectron apps often have multiple windows or embedded webviews:\n\n```bash\nnpx monomind browse tab                  # list all tabs\u002Fwebviews (shows targetId for each)\nnpx monomind browse tab \u003CtargetId>       # switch to tab by its targetId\nnpx monomind browse tab new              # open a new tab\n```\n\n---\n\n## Activation Checklist\n\nWhen this skill fires:\n- [ ] Get the URL (ask if not provided — or use `--auto-connect` for Electron apps)\n- [ ] Run `open` + `errors` baseline\n- [ ] Run all 7 QA phases (or subset the user requested)\n- [ ] Screenshot key states: initial, post-action, errors, mobile\n- [ ] Run `vitals` for any performance claim\n- [ ] Output structured QA report with PASS\u002FWARN\u002FFAIL\n- [ ] Store patterns in memory if the flow was new and successful\n","# Agent Browser Testing — Full QA Suite\n\n**Engine:** `npx monomind browse` — native TypeScript CDP client. No Playwright, no Puppeteer, no external binary. Every command below goes through this single infrastructure.\n\n**CRITICAL RULE:** Never use `mcp__claude-in-chrome__*`, `mcp__plugin_playwright__*`, or any other browser tool. Always use `npx monomind browse`.\n\n---\n\n## Commands at a Glance\n\nAll 55 subcommands — grouped by what they do.\n\n| Group | Commands |\n|---|---|\n| **Open \u002F Navigate** | `open`, `navigate back\\|forward\\|reload`, `pushstate`, `connect`, `close` |\n| **Inspect** | `snapshot`, `get url\\|title\\|text\\|html\\|value\\|attr\\|count\\|box\\|styles`, `errors`, `console` |\n| **Find** | `find role\\|text\\|label\\|placeholder\\|testid\\|alttext\\|title\\|selector` |\n| **Assert** | `is visible\\|enabled\\|checked`, `isvisible`, `isenabled`, `ischecked` |\n| **Click \u002F Tap** | `click`, `dblclick`, `tap`, `hover`, `focus` |\n| **Type \u002F Fill** | `fill`, `type`, `keyboard type\\|inserttext`, `keydown`, `keyup`, `press` |\n| **Form** | `select`, `check`, `uncheck`, `upload` |\n| **Scroll \u002F Drag** | `scroll`, `scrollintoview`, `drag`, `swipe up\\|down\\|left\\|right` |\n| **Mouse (raw)** | `mouse move\\|down\\|up\\|wheel` |\n| **Wait** | `wait --text\\|--not-text\\|--url\\|--selector\\|--load\\|--ms\\|--fn\\|--download` |\n| **Download** | `download \u003Cref> \u003Cpath>`, `wait --download \u003Cpath>` |\n| **Screenshot \u002F PDF** | `screenshot`, `pdf`, `highlight`, `diff url` |\n| **Clipboard** | `clipboard read\\|write\\|copy\\|paste` |\n| **Dialogs** | `dialog accept\\|dismiss\\|status` |\n| **Tabs** | `tab list\\|new\\|close\\|\u003CtargetId>` |\n| **Windows** | `window new [url]` (isolated context \u002F incognito) |\n| **Frames** | `frame \u003Cref>\\|main` |\n| **Storage** | `storage local\\|session`, `cookies list\\|set\\|clear` |\n| **Network** | `network route\\|unroute\\|headers\\|capture\\|requests\\|request` |\n| **Emulation** | `set device\\|media\\|geo\\|offline\\|useragent\\|viewport\\|credentials`, `resize` |\n| **Session** | `state save\\|load\\|list\\|show\\|clear\\|rename\\|clean`, `open --session\\|--state` |\n| **JS \u002F Init** | `eval`, `eval --stdin`, `addinitscript`, `removeinitscript` |\n| **Record** | `record start\\|stop\\|restart\\|status` |\n| **Performance** | `vitals`, `trace start\\|stop\\|status`, `profiler start\\|stop\\|heap`, `har start\\|stop\\|status` |\n| **Batch** | `batch \"cmd1\" \"cmd2\" ...` |\n\n---\n\n## QA Execution Protocol\n\nWhen this skill is invoked, run ALL phases unless the user specifies a subset.\n\n### Phase 0 — Pre-flight\n\n```bash\n# Verify server is reachable before starting\nnpx monomind browse open \u003Curl>\nnpx monomind browse get url          # confirm we landed on the right page\nnpx monomind browse get title\nnpx monomind browse errors           # baseline — clear before testing\n```\n\n### Phase 1 — Discovery & Structure Audit\n\n```bash\nnpx monomind browse snapshot         # full AX tree — understand page structure\nnpx monomind browse snapshot -i      # interactive-only (93% less context)\nnpx monomind browse find role link   # enumerate all links\nnpx monomind browse find role button # enumerate all buttons\nnpx monomind browse find role heading # heading hierarchy\nnpx monomind browse find role form   # form elements\nnpx monomind browse find role image  # images (check alt text in snapshot)\n```\n\n**Report:** page structure, heading hierarchy, interactive element count, any obvious missing landmarks.\n\n### Phase 2 — Golden Path Testing\n\nExecute the primary user flow end-to-end. Pattern:\n\n```bash\nnpx monomind browse open \u003Curl>\nnpx monomind browse snapshot -i\n# identify refs → act → re-snapshot → verify\n\nnpx monomind browse fill @e1 \"value\"\nnpx monomind browse click @e2\nnpx monomind browse wait --text \"expected result\"\nnpx monomind browse snapshot -i\nnpx monomind browse errors           # check after every major action\n```\n\n**Report:** each step result, any deviations from expected state.\n\n### Phase 3 — Edge Case & Validation Testing\n\n```bash\n# Empty submission\nnpx monomind browse click @submit_btn\nnpx monomind browse wait --text \"required\" --timeout 3000\nnpx monomind browse snapshot -i\n\n# Invalid input\nnpx monomind browse fill @email_field \"not-an-email\"\nnpx monomind browse click @submit_btn\nnpx monomind browse snapshot -i\n\n# Boundary values\nnpx monomind browse fill @text_field \"\"               # empty\nnpx monomind browse fill @text_field \"a\"              # min\nnpx monomind browse fill @text_field \"$(python3 -c 'print(\"x\"*1000)')\"  # overflow\n\n# Element state checks\nnpx monomind browse is visible @e5\nnpx monomind browse is enabled @e3\nnpx monomind browse is checked @e7\n```\n\n### Phase 4 — Cross-Device & Responsive\n\n```bash\n# Mobile\nnpx monomind browse set device \"iPhone 14\"\nnpx monomind browse screenshot mobile-portrait.png\nnpx monomind browse snapshot -i\n\n# Tablet\nnpx monomind browse set device \"iPad Pro\"\nnpx monomind browse screenshot tablet.png\n\n# Desktop wide\nnpx monomind browse resize 1920 1080\nnpx monomind browse screenshot desktop-wide.png\n\n# Dark mode\nnpx monomind browse set media dark\nnpx monomind browse screenshot dark-mode.png\nnpx monomind browse set media light\n\n# Reset\nnpx monomind browse resize 1280 800\n```\n\n### Phase 5 — Keyboard & Accessibility\n\n```bash\n# Tab order — tab through every focusable element\nnpx monomind browse focus @e1\nnpx monomind browse press Tab\nnpx monomind browse snapshot -i       # repeat until full cycle\n\n# ARIA roles present\nnpx monomind browse find role navigation\nnpx monomind browse find role main\nnpx monomind browse find role banner\n\n# Keyboard activation\nnpx monomind browse press Enter        # activate focused element\nnpx monomind browse press Escape       # close modals\u002Fdropdowns\nnpx monomind browse press Space        # toggle checkboxes\n\n# Keyboard combos (key combos must use press, not keyboard)\nnpx monomind browse press \"Control+A\"\nnpx monomind browse press \"Control+Z\"\n```\n\n### Phase 6 — Network & Error Monitoring\n\n```bash\n# Start network capture before the flow\nnpx monomind browse har start\n# ... run the flow ...\nnpx monomind browse har stop --bodies --json   # --bodies only valid on stop\n\n# Check for failed requests during testing\nnpx monomind browse network requests --json\n\n# Simulate offline\nnpx monomind browse set offline true\nnpx monomind browse snapshot -i        # should show graceful offline state\nnpx monomind browse set offline false\n\n# Final error check\nnpx monomind browse console           # all console output\nnpx monomind browse errors            # JS exceptions only\n```\n\n### Phase 7 — Performance Audit\n\n```bash\n# Core Web Vitals\nnpx monomind browse vitals --wait 3000 --json\n\n# Full trace (open DevTools-compatible)\nnpx monomind browse trace start --screenshots\n# ... trigger the critical user flow ...\nnpx monomind browse trace stop .\u002Fqa-trace.json\n\n# HAR for waterfall analysis\nnpx monomind browse har start\nnpx monomind browse navigate reload\nnpx monomind browse wait --load networkidle\nnpx monomind browse har stop --bodies --json\n```\n\n**Report vitals thresholds:**\n- LCP \u003C 2.5s = PASS, 2.5–4s = WARN, >4s = FAIL\n- CLS \u003C 0.1 = PASS, 0.1–0.25 = WARN, >0.25 = FAIL\n- FCP \u003C 1.8s = PASS, 1.8–3s = WARN, >3s = FAIL\n\n---\n\n## Core Testing Loop\n\n```\nOPEN → SNAPSHOT → ACT → SNAPSHOT → VERIFY → REPEAT\n```\n\n```bash\nnpx monomind browse open \u003Curl>\nnpx monomind browse snapshot -i\nnpx monomind browse click @e1\nnpx monomind browse fill @e2 \"value\"\nnpx monomind browse press Enter\nnpx monomind browse snapshot -i\nnpx monomind browse get text @e5\nnpx monomind browse get url\nnpx monomind browse wait --text \"Success\"\nnpx monomind browse errors\n```\n\n---\n\n## Full Command Reference\n\n### Navigation & Window\n\n```bash\nnpx monomind browse open \u003Curl>                    # open URL (launches Chrome if needed)\nnpx monomind browse open \u003Curl> --headless         # headless mode\nnpx monomind browse open \u003Curl> --session \u003Cname>   # restore saved session\nnpx monomind browse open \u003Curl> --state \u003Cfile>     # restore from state file\nnpx monomind browse navigate back\nnpx monomind browse navigate forward\nnpx monomind browse navigate reload\nnpx monomind browse pushstate \u002Fpath               # SPA client-side nav\nnpx monomind browse resize 1280 800\nnpx monomind browse connect --port 9222           # attach to running Chrome\nnpx monomind browse connect --port 9222 --target \u003Cid>\nnpx monomind browse close\n```\n\n### Snapshot & Element Discovery\n\n```bash\nnpx monomind browse snapshot                      # full AX tree\nnpx monomind browse snapshot -i                   # interactive elements only\nnpx monomind browse snapshot --compact            # compact format\nnpx monomind browse snapshot --json               # machine-readable\nnpx monomind browse snapshot --depth 3            # limit tree depth\nnpx monomind browse snapshot --selector \"#modal\"  # scope to element\n\nnpx monomind browse get url\nnpx monomind browse get title\nnpx monomind browse get text               # full page text\nnpx monomind browse get text @eN          # element text\nnpx monomind browse get html               # full page HTML (ref arg is ignored — always returns full doc)\n# for element HTML: npx monomind browse eval \"document.querySelector('...').outerHTML\"\nnpx monomind browse get value @eN\nnpx monomind browse get attr @eN href\nnpx monomind browse get count \"button\"    # count elements matching CSS selector\nnpx monomind browse get box @eN           # bounding box {x,y,width,height}\nnpx monomind browse get styles @eN        # computed styles\nnpx monomind browse is checked @eN\n```\n\n### Element Finders (semantic — no CSS selectors needed)\n\n```bash\nnpx monomind browse find role button              # by ARIA role\nnpx monomind browse find role button --name \"Submit\"\nnpx monomind browse find text \"Delete\"            # by visible text\nnpx monomind browse find label \"Email\"            # by label text\nnpx monomind browse find testid \"submit-btn\"      # by data-testid\nnpx monomind browse find alttext \"Company logo\"   # by alt attribute (images)\nnpx monomind browse find title \"More options\"     # by title attribute (tooltips)\nnpx monomind browse find role link --nth 2        # nth match\nnpx monomind browse find role image --last        # last match\nnpx monomind browse find placeholder \"Search...\"  # by placeholder text\nnpx monomind browse find selector \"div.modal\"     # by CSS selector\n\n# Inline action after find\nnpx monomind browse find role button --name \"Submit\" click\nnpx monomind browse find label \"Email\" fill \"test@example.com\"\nnpx monomind browse find text \"Delete\" click\n\n# State checks\nnpx monomind browse is visible @eN\nnpx monomind browse is enabled @eN\nnpx monomind browse is checked @eN\n```\n\n### Window Management (Isolated Contexts)\n\n```bash\n# Open a new isolated browser window (like incognito — separate cookies\u002Fstorage)\nnpx monomind browse window new\nnpx monomind browse window new https:\u002F\u002Fapp.example.com\n\n# Useful for multi-user testing (e.g. admin + regular user simultaneously):\n# 1. Connect once, then open isolated windows for each user role\nnpx monomind browse connect --port 9222\nnpx monomind browse window new                 # switches to new isolated context\nnpx monomind browse open https:\u002F\u002Fapp.example.com\u002Flogin\nnpx monomind browse fill @e1 \"admin@example.com\"\n# ...\n\n# Tab management (within the same context)\nnpx monomind browse tab                        # list all tabs\nnpx monomind browse tab new https:\u002F\u002Fexample.com\nnpx monomind browse tab close \u003CtabId>\nnpx monomind browse tab \u003CtabId>               # switch to tab\n```\n\n### Interaction\n\n```bash\nnpx monomind browse click @eN\nnpx monomind browse click @eN --right            # right-click\nnpx monomind browse click @eN --double           # double-click (or dblclick)\nnpx monomind browse dblclick @eN\nnpx monomind browse hover @eN\nnpx monomind browse focus @eN\nnpx monomind browse fill @eN \"text\"              # clear + type (fast)\nnpx monomind browse type @eN \"text\"              # char-by-char (triggers keypress)\nnpx monomind browse press Enter                  # key on focused element\nnpx monomind browse press Tab\nnpx monomind browse press Escape\nnpx monomind browse press \"Control+A\"\nnpx monomind browse press \"Control+Shift+I\"      # key combos always use press\nnpx monomind browse keyboard type \"Hello\"        # insert text without targeting an element\nnpx monomind browse keyboard inserttext \"Hello\"  # alias for keyboard type\nnpx monomind browse keydown \"Shift\"\nnpx monomind browse keyup \"Shift\"\nnpx monomind browse select @eN \"Option A\"        # select dropdown option\nnpx monomind browse check @eN\nnpx monomind browse uncheck @eN\nnpx monomind browse scroll down 300                     # positional amount (shorthand)\nnpx monomind browse scroll down --amount 600            # scroll page\nnpx monomind browse scroll down --ref eN --amount 400   # scroll within element ref\nnpx monomind browse scroll down --selector \".sidebar\" 300  # scroll within CSS selector\nnpx monomind browse scrollintoview @eN\nnpx monomind browse drag @eN @eM                 # drag source to target\nnpx monomind browse upload @eN .\u002Ffile.pdf        # file input\nnpx monomind browse download @eN .\u002Freport.pdf   # click element, capture file download\nnpx monomind browse download \".export-btn\" .\u002Fdata.csv --timeout 15000\nnpx monomind browse highlight @eN               # visual debug highlight\n```\n\n### Low-Level Mouse\n\n```bash\nnpx monomind browse mouse move 400 300\nnpx monomind browse mouse down --button left\nnpx monomind browse mouse down --button right\nnpx monomind browse mouse up\nnpx monomind browse mouse wheel 0 0 200          # x y deltaY [deltaX] — scroll down 200px\n```\n\n### Clipboard\n\n```bash\nnpx monomind browse clipboard read\nnpx monomind browse clipboard write \"paste me\"\nnpx monomind browse clipboard copy    # copy selected text\nnpx monomind browse clipboard paste   # paste at focused element\n```\n\n### Wait & Assertions\n\n```bash\nnpx monomind browse wait --text \"Success\"\nnpx monomind browse wait --not-text \"Loading\"\nnpx monomind browse wait --url \"**\u002Fdashboard\"\nnpx monomind browse wait --selector \"#modal\"\nnpx monomind browse wait --load networkidle\nnpx monomind browse wait --load load\nnpx monomind browse wait --load domcontentloaded\nnpx monomind browse wait --ms 500\nnpx monomind browse wait --fn \"window.__ready === true\"\nnpx monomind browse wait --text \"Done\" --timeout 10000\nnpx monomind browse wait --download .\u002Freport.pdf    # wait for browser-triggered download to complete\nnpx monomind browse wait --download .\u002Fdata.csv --timeout 15000\n```\n\n### Element State Checks (Assertions)\n\n```bash\nnpx monomind browse isvisible @e3          # true\u002Ffalse — is element visible?\nnpx monomind browse isenabled @e2          # true\u002Ffalse — is element enabled (not disabled)?\nnpx monomind browse ischecked @e1          # true\u002Ffalse — is checkbox\u002Fradio checked?\n\n# Also accepts CSS selectors\nnpx monomind browse isvisible \".submit-btn\"\nnpx monomind browse isenabled \"#email-input\"\nnpx monomind browse ischecked \"input[name='agree']\"\n\n# JSON output for scripting\nnpx monomind browse isvisible @e4 --json   # → {\"visible\": true}\n```\n\n**Use in test scripts:**\n```bash\n# Run snapshot, then assert expected state\nnpx monomind browse snapshot -i\nnpx monomind browse click @e3             # click submit\nnpx monomind browse wait --text \"Success\"\nnpx monomind browse isvisible \".success-banner\" --json\n```\n\n### Snapshot Regression Testing\n\n```bash\n# Save current snapshot as baseline\nnpx monomind browse snapshot -i --save .\u002Fbaselines\u002Fhomepage.txt\n\n# Later: compare against baseline (colored diff: green=added, red=removed)\nnpx monomind browse snapshot -i --diff .\u002Fbaselines\u002Fhomepage.txt\n# → Snapshot changed: +2 lines, -1 lines\n# + button \"Sign Out\" [@e12]\n# - button \"Sign In\" [@e8]\n\n# JSON output\nnpx monomind browse snapshot -i --diff .\u002Fbaselines\u002Fhomepage.txt --json\n\n# Content-safety flags (for agentic pipelines with untrusted pages)\nnpx monomind browse snapshot --content-boundaries          # wrap output in sentinel markers to prevent injection\nnpx monomind browse snapshot --max-output 10000            # truncate to 10k chars (prevents context blowout)\nnpx monomind browse snapshot --content-boundaries --max-output 8000  # both together\n\n# Compare two URLs side-by-side (navigates to each, diffs their snapshots)\nnpx monomind browse diff url https:\u002F\u002Fstaging.example.com https:\u002F\u002Fprod.example.com\nnpx monomind browse diff url https:\u002F\u002Fapp.com\u002Fv1 https:\u002F\u002Fapp.com\u002Fv2 --interactive\nnpx monomind browse diff url https:\u002F\u002Fbefore.com https:\u002F\u002Fafter.com --json\n```\n\n### Mobile Testing (Touch Events)\n\n```bash\n# Tap with touch event — useful for mobile-emulated layouts\nnpx monomind browse tap @e4\nnpx monomind browse tap \".mobile-nav-toggle\"\n\n# Swipe gestures — 10-step smooth touchMove sequence\nnpx monomind browse swipe up                        # swipe up 300px from center\nnpx monomind browse swipe down 500                  # swipe down 500px\nnpx monomind browse swipe left --x 300 --y 400     # swipe left from (300,400)\nnpx monomind browse swipe right 200 --x 50 --y 300 # swipe right 200px\n\n# Combine with device emulation\nnpx monomind browse set device \"iPhone 14\"\nnpx monomind browse snapshot -i\nnpx monomind browse tap @e2\nnpx monomind browse swipe up 400                    # scroll via swipe on mobile\n```\n\n### Screenshots & Visual Evidence\n\n```bash\nnpx monomind browse screenshot before.png\nnpx monomind browse screenshot --full page.png             # full-page\nnpx monomind browse screenshot --annotate out.png          # overlay @eN numbered labels (requires prior snapshot -i)\nnpx monomind browse screenshot --hide-scrollbars clean.png # hide native scrollbars via CSS injection\nnpx monomind browse screenshot --format webp --quality 90 out.webp\nnpx monomind browse screenshot --json                      # returns path as JSON\nnpx monomind browse pdf .\u002Foutput.pdf\nnpx monomind browse pdf --landscape .\u002Freport.pdf\n```\n\n**`--annotate` pattern:** always run `snapshot -i` first to populate refs, then `screenshot --annotate` to produce a screenshot with numbered labels at each element's position. Numbers match the `@eN` refs from the snapshot, so you can point to elements by number in bug reports.\n\n> **Note:** `--annotate` uses viewport-relative coordinates — do not combine with `--full`. On full-page captures, badges will be misaligned below the fold.\n\n```bash\nnpx monomind browse snapshot -i\nnpx monomind browse screenshot --annotate .\u002Fissue-001.png\n# → labels [1] [2] [3]... appear at each interactive element\n```\n\n### Console, Errors & JavaScript\n\n> **Console capture is always-on.** As soon as you `open` or `connect`, monobrowse hooks `Runtime.consoleAPICalled`, `Log.entryAdded`, and `Runtime.exceptionThrown` automatically. No `capture start` needed — messages accumulate in memory and `console`\u002F`errors` read from that buffer at any time.\n\n```bash\nnpx monomind browse console                      # all log\u002Fwarn\u002Ferror\u002Finfo messages since connect\nnpx monomind browse console --errors-only        # filter to error level only\nnpx monomind browse console --clear              # reset the buffer\nnpx monomind browse console --json               # machine-readable [{type, text, timestamp}]\nnpx monomind browse errors                       # uncaught JS exceptions (Runtime.exceptionThrown)\nnpx monomind browse errors --json                # [{text, url, lineNumber, columnNumber, timestamp}]\nnpx monomind browse errors --clear\n\nnpx monomind browse eval \"document.title\"\nnpx monomind browse eval \"document.querySelectorAll('button').length\"\nnpx monomind browse eval \"window.__store.getState()\" --json\n# Multiline JS via heredoc (--stdin reads from stdin)\ncat \u003C\u003C'EOF' | npx monomind browse eval --stdin\n  const items = document.querySelectorAll('li');\n  JSON.stringify([...items].map(i => i.textContent.trim()))\nEOF\nnpx monomind browse addinitscript \"window.__TEST__ = true\"   # runs on every page load\nnpx monomind browse removeinitscript \u003Cid>\n```\n\n### Network\n\n```bash\n# Route interception\nnpx monomind browse network route --pattern \"https:\u002F\u002Fapi.*\" --abort\nnpx monomind browse network route --pattern \"*\u002Fgraphql\" --fulfill '{\"data\":{}}' --status 200\nnpx monomind browse network route --pattern \"*.png\" --abort\nnpx monomind browse network unroute                           # disable ALL interception (pattern arg is ignored)\n\n# Extra headers for all requests\nnpx monomind browse network headers --headers '{\"X-Test\":\"true\"}'\n\n# Request log\nnpx monomind browse network capture start\nnpx monomind browse network capture stop\nnpx monomind browse network capture clear\nnpx monomind browse network requests --json\nnpx monomind browse network requests --filter \"api\u002Fusers\"            # filter by URL substring\nnpx monomind browse network requests --method POST                   # filter by HTTP method\nnpx monomind browse network requests --status-code 200               # filter by status code\nnpx monomind browse network requests --type xhr                      # filter by resource type\nnpx monomind browse network request \u003CrequestId>                      # full detail for one request\nnpx monomind browse network cookies             # cookies via network layer\n```\n\n### Tabs & Frames\n\n```bash\nnpx monomind browse tab list\nnpx monomind browse tab new https:\u002F\u002Fexample.com\nnpx monomind browse tab \u003CtargetId>               # switch to tab by id\nnpx monomind browse tab close \u003CtargetId>\nnpx monomind browse frame @eN                    # switch into iframe\nnpx monomind browse frame main                   # back to main frame\n```\n\n### Dialogs\n\n```bash\n# Auto-accepted by default. Override:\nnpx monomind browse dialog accept\nnpx monomind browse dialog accept \"confirm text\"\nnpx monomind browse dialog dismiss\nnpx monomind browse dialog status\n```\n\n### Storage & Cookies\n\n```bash\nnpx monomind browse storage local                        # list all entries\nnpx monomind browse storage local \u003Ckey>                  # get a specific key\nnpx monomind browse storage local \u003Ckey> --set \"value\"    # set a key\nnpx monomind browse storage local \u003Ckey> --remove         # remove a key\nnpx monomind browse storage local --clear                # clear all\nnpx monomind browse storage session                      # list all session entries\nnpx monomind browse storage session \u003Ckey>                # get session key\nnpx monomind browse cookies list\nnpx monomind browse cookies set --name token --value abc123\nnpx monomind browse cookies clear\n```\n\n### Device & Emulation\n\n```bash\nnpx monomind browse set device \"iPhone 14\"\nnpx monomind browse set device \"Galaxy S21\"\nnpx monomind browse set device \"iPad Pro\"\nnpx monomind browse set media dark\nnpx monomind browse set media light\nnpx monomind browse set geo 37.7749 -122.4194\nnpx monomind browse set offline true\nnpx monomind browse set offline false\nnpx monomind browse set useragent \"Mozilla\u002F5.0 ...\"\nnpx monomind browse set viewport 1440 900          # width height [deviceScaleFactor]\nnpx monomind browse set credentials user pass\n```\n\n### Session Persistence\n\n```bash\nnpx monomind browse state save \u003Cname>\nnpx monomind browse state load \u003Cname>\nnpx monomind browse state list\nnpx monomind browse state show        # inspect current active session\nnpx monomind browse state clear       # clear current active session\nnpx monomind browse state rename \u003Cold> \u003Cnew>           # rename a saved session\nnpx monomind browse state clean --older-than 7         # delete sessions older than N days (default: 7)\n```\n\n### Performance & Diagnostics\n\n> **DevTools panel coverage:**\n> ✅ Console panel — `console` \u002F `errors` (always-on, see above)\n> ✅ Network panel — `network requests` + filters, `network request \u003Cid>`, `har start\u002Fstop --bodies`\n> ✅ Performance panel — `trace start\u002Fstop` (exports Chrome DevTools-compatible `.json`)\n> ✅ Memory panel — `profiler heap .\u002Fheap.json` (heap snapshot)\n> ✅ Application panel — `storage`, `cookies`\n> ✅ Sources \u002F JS eval — `eval`, `eval --stdin`, `addinitscript`\n> ❌ Not available: source-map resolution for error stacks, live network waterfall, Lighthouse audit scores, Total Blocking Time metric\n\n```bash\n# Core Web Vitals (LCP \u003C 2.5s PASS, 2.5–4s WARN, >4s FAIL)\nnpx monomind browse vitals --wait 3000 --json\n\n# CPU profiler\nnpx monomind browse profiler start --interval 1000   # interval in microseconds (1000µs = 1ms)\nnpx monomind browse profiler stop --json\n\n# Heap snapshot\nnpx monomind browse profiler heap .\u002Fheap.json\n\n# Chrome trace (load in chrome:\u002F\u002Ftracing or Perfetto)\nnpx monomind browse trace start --screenshots\nnpx monomind browse trace stop .\u002Ftrace.json\nnpx monomind browse trace status\n\n# HAR (full HTTP archive with request\u002Fresponse bodies)\nnpx monomind browse har start\nnpx monomind browse har status\nnpx monomind browse har stop --bodies --json   # --bodies only valid on stop\n\n# Screen recording (frame sequence)\nnpx monomind browse record start --format jpeg --quality 80\nnpx monomind browse record status\nnpx monomind browse record stop --json\nnpx monomind browse record restart .\u002Ftake2.mp4   # atomically stop+start (no page reload)\n```\n\n### Batch Execution\n\n```bash\n# Run multiple commands in one CDP session (fastest for scripted flows)\nnpx monomind browse batch \"open https:\u002F\u002Fapp.com\" \"snapshot -i\" \"click @e3\" \"wait --text Done\"\nnpx monomind browse batch --bail \"open https:\u002F\u002Fapp.com\" \"click @e3\"   # stop on first error\n# Note: --json stdin pipe flag is declared but not implemented; use positional args only\n```\n\n---\n\n## Common QA Patterns\n\n### Login \u002F Auth Flow\n\n```bash\nnpx monomind browse open \u003Clogin-url>\nnpx monomind browse snapshot -i\nnpx monomind browse fill @e1 \"user@test.com\"\nnpx monomind browse fill @e2 \"TestPass123!\"\nnpx monomind browse click @e3\nnpx monomind browse wait --url \"**\u002Fdashboard\" --timeout 8000\nnpx monomind browse errors\nnpx monomind browse screenshot post-login.png\n```\n\n### Form with Validation\n\n```bash\nnpx monomind browse open \u003Cform-url>\nnpx monomind browse snapshot -i\n# Happy path\nnpx monomind browse fill @e1 \"John Doe\"\nnpx monomind browse fill @e2 \"john@test.com\"\nnpx monomind browse select @e3 \"Option A\"\nnpx monomind browse check @e4\nnpx monomind browse click @e5\nnpx monomind browse wait --text \"submitted\"\nnpx monomind browse screenshot form-success.png\n# Validation\nnpx monomind browse navigate back\nnpx monomind browse click @e5                    # submit empty\nnpx monomind browse snapshot -i                  # should show errors\n```\n\n### Multi-Step Wizard\n\n```bash\nnpx monomind browse open \u003Cwizard-url>\nnpx monomind browse snapshot -i\nnpx monomind browse fill @e1 \"value\"\nnpx monomind browse click @e2\nnpx monomind browse wait --text \"Step 2\"\nnpx monomind browse snapshot -i\nnpx monomind browse select @e3 \"choice\"\nnpx monomind browse click @e4\nnpx monomind browse wait --text \"Complete\"\nnpx monomind browse screenshot wizard-complete.png\n```\n\n### CRUD Operations\n\n```bash\n# Create\nnpx monomind browse click @new_btn\nnpx monomind browse fill @name_field \"New Item\"\nnpx monomind browse click @save_btn\nnpx monomind browse wait --text \"New Item\"\n# Update\nnpx monomind browse find text \"Edit\" click\nnpx monomind browse fill @name_field \"Updated Item\"\nnpx monomind browse click @save_btn\nnpx monomind browse wait --text \"Updated Item\"\n# Delete\nnpx monomind browse find text \"Delete\" click\nnpx monomind browse wait --text \"Are you sure\"\nnpx monomind browse click @confirm_btn\nnpx monomind browse wait --load networkidle\n```\n\n### API Mock Testing\n\n```bash\n# Intercept API, return controlled data\nnpx monomind browse network route --pattern \"*\u002Fapi\u002Fusers\" --fulfill '{\"users\":[]}' --status 200\nnpx monomind browse open \u003Curl>\nnpx monomind browse snapshot -i           # should show empty state UI\nnpx monomind browse screenshot empty-state.png\n# Intercept with error\nnpx monomind browse network route --pattern \"*\u002Fapi\u002Fusers\" --fulfill '{\"error\":\"forbidden\"}' --status 403\nnpx monomind browse navigate reload\nnpx monomind browse snapshot -i           # should show error state\n```\n\n---\n\n## Dogfood \u002F Exploratory QA Mode\n\nWhen asked to \"dogfood\", \"QA\", \"find bugs\", \"exploratory test\", or \"bug hunt\" a web app:\n\n### Setup\n\n```bash\nmkdir -p .\u002Fdogfood-output\u002Fscreenshots .\u002Fdogfood-output\u002Fvideos\n```\n\n### Workflow\n\n```\n1. Orient    → open URL, initial annotated screenshot, snapshot -i\n2. Explore   → visit each major section, test interactive elements\n3. Document  → screenshot + record for each issue found (as you go, not at end)\n4. Wrap up   → re-check console errors, write summary\n```\n\n### At each page\n\n```bash\nnpx monomind browse snapshot -i                                              # find interactive elements\nnpx monomind browse screenshot --annotate .\u002Fdogfood-output\u002Fscreenshots\u002F\u003Cpage>.png  # annotated overview\nnpx monomind browse errors                                                   # check for JS errors\nnpx monomind browse console                                                  # check console output\n```\n\n### Documenting an issue (repro-first)\n\nFor **interactive\u002Fbehavioral bugs** (require clicking or typing to reproduce):\n\n```bash\n# 1. Start recording before reproducing\nnpx monomind browse record start\n# 2. Walk through the steps (use type not fill during recording — shows keystrokes)\nnpx monomind browse screenshot .\u002Fdogfood-output\u002Fscreenshots\u002Fissue-001-step1.png\nnpx monomind browse type @eN \"input value\"\nnpx monomind browse click @eM\nnpx monomind browse screenshot --annotate .\u002Fdogfood-output\u002Fscreenshots\u002Fissue-001-result.png\n# 3. Stop recording\nnpx monomind browse record stop --json   # returns path to frames JSON\n```\n\nFor **static\u002Fvisible-on-load bugs** (typos, layout, placeholder text):\n\n```bash\nnpx monomind browse screenshot --annotate .\u002Fdogfood-output\u002Fscreenshots\u002Fissue-001.png\n# Single annotated screenshot is sufficient — no recording needed\n```\n\n### `type` vs `fill` during recording\n\nUse `type` (character-by-character) when recording a video so keystrokes are visible in the recording. Use `fill` (instant clear + set) for speed outside recording.\n\n### Reporting\n\nAim for 5–10 well-documented issues. Depth of evidence (annotated screenshots, step-by-step repro) beats quantity. Append each issue as you find it — never batch for the end.\n\n---\n\n## Task Walkthrough Mode\n\nWhen helping a user accomplish a task in a live UI:\n\n1. Ask for the URL if not provided\n2. `open` + `snapshot -i` — describe what's on screen (title, sections, available actions)\n3. Propose the steps to accomplish the task\n4. Execute step by step, narrating each action and what changed\n5. Confirm completion with a screenshot\n\n```bash\nnpx monomind browse open https:\u002F\u002Fapp.example.com\nnpx monomind browse snapshot -i\n# → \"I see: navbar with 'New Project' @e3, project list below with 2 items\"\nnpx monomind browse click @e3\nnpx monomind browse snapshot -i\n# → \"Modal opened: Name field @e8, Template selector @e9, Create @e11\"\nnpx monomind browse fill @e8 \"My Project\"\nnpx monomind browse click @e11\nnpx monomind browse wait --text \"My Project\"\nnpx monomind browse screenshot created.png\n# → \"Project created — visible in list\"\n```\n\n---\n\n## QA Report Format\n\nAfter every test session output a structured report:\n\n```\n## QA Report — \u003Curl> — \u003Cdate>\n\n### Summary\n- Pages tested: N\n- Total checks: N\n- PASS: N  WARN: N  FAIL: N\n\n### Results\n\nPASS  Login flow completes and redirects to \u002Fdashboard\nPASS  Form validation shows errors on empty submit\nWARN  LCP = 3.2s (threshold: 2.5s) — images not lazy-loaded\nFAIL  Delete confirmation dialog blocks further automation — avoid triggering\nFAIL  Mobile layout: navigation overflows viewport at 375px\n\n### JS Errors\n\u003Clist from `npx monomind browse errors`>\n\n### Performance\nLCP: Xs  CLS: X  FCP: Xs  TTFB: Xms\n\n### Screenshots\n- before-action.png\n- after-action.png\n- mobile-portrait.png\n```\n\n---\n\n## Memory Integration\n\n```bash\n# Store successful test patterns after a passing run\nnpx monomind memory store \\\n  --namespace ui-testing \\\n  --key \"login-flow-\u003Capp-name>\" \\\n  --value \"open→snapshot -i→fill @e1 email→fill @e2 pass→click @e3→wait dashboard\"\n\n# Retrieve before re-testing the same app\nnpx monomind memory search --query \"login flow\" --namespace ui-testing\n```\n\n---\n\n## Electron App Automation\n\nAutomate any Electron desktop app (VS Code, Slack, Discord, Figma, Notion, Spotify) via CDP — same snapshot-interact workflow as for web pages.\n\n### Launch with CDP port\n\n```bash\n# macOS — quit the app first if already running\nopen -a \"Slack\"   --args --remote-debugging-port=9222\nopen -a \"Visual Studio Code\" --args --remote-debugging-port=9223\nopen -a \"Discord\" --args --remote-debugging-port=9224\nopen -a \"Figma\"   --args --remote-debugging-port=9225\nopen -a \"Notion\"  --args --remote-debugging-port=9226\n\n# Linux\nslack --remote-debugging-port=9222\ncode  --remote-debugging-port=9223\n\n# Windows\n\"C:\\...\\slack.exe\" --remote-debugging-port=9222\n```\n\n### Connect and interact\n\n```bash\n# Connect to a specific port\nnpx monomind browse connect --port 9222\n\n# Auto-discover any running Chromium-based app on ports 9222 or 9229\nnpx monomind browse connect --auto-connect\n\n# Standard workflow from here\nnpx monomind browse snapshot -i\nnpx monomind browse click @e5\nnpx monomind browse screenshot --annotate slack-desktop.png\n```\n\n`--auto-connect` probes ports 9222 and 9229 in order and connects to the first responding Chrome\u002FElectron instance.\n\n### Tab and webview management\n\nElectron apps often have multiple windows or embedded webviews:\n\n```bash\nnpx monomind browse tab                  # list all tabs\u002Fwebviews (shows targetId for each)\nnpx monomind browse tab \u003CtargetId>       # switch to tab by its targetId\nnpx monomind browse tab new              # open a new tab\n```\n\n---\n\n## Activation Checklist\n\nWhen this skill fires:\n- [ ] Get the URL (ask if not provided — or use `--auto-connect` for Electron apps)\n- [ ] Run `open` + `errors` baseline\n- [ ] Run all 7 QA phases (or subset the user requested)\n- [ ] Screenshot key states: initial, post-action, errors, mobile\n- [ ] Run `vitals` for any performance claim\n- [ ] Output structured QA report with PASS\u002FWARN\u002FFAIL\n- [ ] Store patterns in memory if the flow was new and successful\n",{"name":5,"tools":43,"version":45,"triggers":46,"description":7},[44],"Bash","4.0.0",[47,48,49,50,51,52,53,36,54,55,56,57,58,26,59,31,60,61,62,63,64,65,66,67,68,69],"\u002Fagent-browser-testing","\u002Fui-test","\u002Fmonobrowse","\u002Fqa","\u002Fcrawl","ui test","test the UI","test this system","walk through","check the UI","QA this","test frontend","crawl","browse the website","go to the website","open the website","navigate to","click on the website","do this on the website","automate the browser","fill out the form","log into","sign in to","main","f7cd4595d0f8959822163e14f9787117765c931a",".claude\u002Fskills\u002Fagent-browser-testing",2,"https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind","https:\u002F\u002Fmonoes.github.io\u002Fmonomind\u002F","https:\u002F\u002Fgithub.com\u002Fmonoes","https:\u002F\u002Fmonoes.me","2026-11-14 03:30:52",{"source":8,"skillName":5,"commands":80,"prompt":90,"zipAvailable":91},[81,84,87],{"tool":82,"command":83},"npx","npx skills add monoes\u002Fmonomind --skill agent-browser-testing",{"tool":85,"command":86},"bunx","bunx skills add monoes\u002Fmonomind --skill agent-browser-testing",{"tool":88,"command":89},"pnpm","pnpm dlx skills add monoes\u002Fmonomind --skill agent-browser-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fagent-browser-testing\u002FSKILL.md",true,[],[94,104,112,120,128,136],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":103},"01M73YHAZDWV4ZVTGSKMWQ4Z1S","isms-audit-expert","Use when planning or running an ISO 27001 ISMS audit: risk-based audit schedules, Annex A control assessment, Statement of Applicability and nonconformities. Auditor-side procedures, versus compliance-auditor, which is org role guidance across SOC 2, HIPAA and PCI-DSS.","MIT","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Fisms-audit-expert\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Fisms-audit-expert\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":108,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":103},"01M73YGBS2APTY71Y4CYA2DKSQ","instrument-data-to-allotrope","Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full ASM JSON, flattened CSV for easy import, and exportable Python code for data engineers. Common triggers include converting instrument files, standardizing lab data, preparing data for upload to LIMS\u002FELN systems, or generating parser code for production pipelines.","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Finstrument-data-to-allotrope\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Finstrument-data-to-allotrope\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":116,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":103},"01M73YB23X4NP40R73TS6YY8TX","experiment-designer","Use when planning a product A\u002FB or multivariate test: If\u002FThen\u002FBecause hypotheses, primary and guardrail metrics, sample size and MDE, ICE prioritization. For logging and reproducing ML runs use experiment-tracker; for scientific study design use experimental-design.","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Fexperiment-designer\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Fexperiment-designer\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":124,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":103},"01M73Y8ETSB9072G5ZGPPR0X6E","digest","Generate a daily or weekly digest of activity across all connected sources. Use when catching up after time away, starting the day and wanting a summary of mentions and action items, or reviewing a week's decisions and document updates grouped by project.","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Fdigest\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Fdigest\u002FSKILL.md",[],[],{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":132,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":103},"01M73Y7XJJBH0QXCM5GKJW6N21","design-critique","Get structured design feedback on usability, hierarchy, and consistency. Trigger with \"review this design\", \"critique this mockup\", \"what do you think of this screen?\", or when sharing a Figma link or screenshot for feedback at any stage from exploration to final polish.","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Fdesign-critique\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Fdesign-critique\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":98,"licenseFileUrl":140,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":103},"01M73Y7SM786ZEMNXGPT595AM3","deployment-pipeline-design","Use when architecting a multi-stage CI\u002FCD pipeline with approval gates, SAST and DAST scans, environment promotion, canary rollout and automated rollback. Design-level; for concrete Dockerfile and health check patterns use deployment-patterns.","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Fdeployment-pipeline-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmonoes\u002Fmonomind\u002Fblob\u002Fmain\u002Fpackages\u002F@monomind\u002Fcli\u002Forg-skills\u002Fdeployment-pipeline-design\u002FSKILL.md",[],[]]