[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-agent-browser":3,"mdc-pr2z4s-key":33,"related-repo-openai-agent-browser":2404,"related-org-openai-agent-browser":2518},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":28,"sourceUrl":31,"mdContent":32},"agent-browser","automate browser interactions for agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19],{"name":13,"slug":14,"type":15},"Agents","agents","tag",{"name":17,"slug":18,"type":15},"Testing","testing",{"name":20,"slug":21,"type":15},"Browser Automation","browser-automation",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-04-06T18:41:03.44016",null,465,[],{"repoUrl":23,"stars":22,"forks":26,"topics":29,"description":30},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fvercel\u002Fskills\u002Fagent-browser","---\nname: agent-browser\ndescription: Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.\nmetadata:\n  priority: 3\n  docs:\n    - \"https:\u002F\u002Fopenai.com\u002Findex\u002Fintroducing-codex\u002F\"\n  pathPatterns:\n    - 'agent-browser.json'\n    - 'playwright.config.*'\n    - 'e2e\u002F**'\n    - 'tests\u002Fe2e\u002F**'\n    - 'test\u002Fe2e\u002F**'\n    - 'cypress\u002F**'\n    - 'cypress.config.*'\n  bashPatterns:\n    - '\\bagent-browser\\b'\n    - '\\bnext\\s+dev\\b'\n    - '\\bnpm\\s+run\\s+dev\\b'\n    - '\\bpnpm\\s+dev\\b'\n    - '\\bbun\\s+run\\s+dev\\b'\n    - '\\byarn\\s+dev\\b'\n    - '\\bvite\\b'\n    - '\\bnuxt\\s+dev\\b'\n    - '\\bvercel\\s+dev\\b'\n    - '\\blocalhost:\\d+'\n    - '\\b127\\.0\\.0\\.1:\\d+'\n    - '\\bcurl\\s+.*localhost'\n    - '\\bopen\\s+https?:\u002F\u002F'\n    - '\\bplaywright\\b'\n    - '\\bcypress\\b'\n---\n\n# Browser Automation with agent-browser\n\nWhen a dev server is running or the user asks to verify, test, or interact with a web page, use `agent-browser` to automate the browser.\n\n## Core Workflow\n\nEvery browser automation follows this pattern:\n\n1. **Navigate**: `agent-browser open \u003Curl>`\n2. **Snapshot**: `agent-browser snapshot -i` (get element refs like `@e1`, `@e2`)\n3. **Interact**: Use refs to click, fill, select\n4. **Re-snapshot**: After navigation or DOM changes, get fresh refs\n\n```bash\nagent-browser open http:\u002F\u002Flocalhost:3000\nagent-browser wait --load networkidle\nagent-browser snapshot -i\n```\n\n## Dev Server Verification\n\nWhen a dev server starts, use agent-browser to verify it's working:\n\n```bash\n# After starting a dev server (next dev, vite, etc.)\nagent-browser open http:\u002F\u002Flocalhost:3000\nagent-browser wait --load networkidle\nagent-browser screenshot dev-check.png\nagent-browser snapshot -i\n```\n\n## Command Chaining\n\nCommands can be chained with `&&`. The browser persists between commands via a background daemon.\n\n```bash\nagent-browser open http:\u002F\u002Flocalhost:3000 && agent-browser wait --load networkidle && agent-browser snapshot -i\n```\n\n## Essential Commands\n\n```bash\n# Navigation\nagent-browser open \u003Curl>              # Navigate (aliases: goto, navigate)\nagent-browser close                   # Close browser\n\n# Snapshot\nagent-browser snapshot -i             # Interactive elements with refs\nagent-browser snapshot -i -C          # Include cursor-interactive elements\nagent-browser snapshot -s \"#selector\" # Scope to CSS selector\n\n# Interaction (use @refs from snapshot)\nagent-browser click @e1               # Click element\nagent-browser fill @e2 \"text\"         # Clear and type text\nagent-browser type @e2 \"text\"         # Type without clearing\nagent-browser select @e1 \"option\"     # Select dropdown option\nagent-browser check @e1               # Check checkbox\nagent-browser press Enter             # Press key\nagent-browser scroll down 500         # Scroll page\n\n# Get information\nagent-browser get text @e1            # Get element text\nagent-browser get url                 # Get current URL\nagent-browser get title               # Get page title\n\n# Wait\nagent-browser wait @e1                # Wait for element\nagent-browser wait --load networkidle # Wait for network idle\nagent-browser wait --url \"**\u002Fpage\"    # Wait for URL pattern\nagent-browser wait 2000               # Wait milliseconds\n\n# Capture\nagent-browser screenshot              # Screenshot to temp dir\nagent-browser screenshot --full       # Full page screenshot\nagent-browser screenshot --annotate   # Annotated screenshot with numbered labels\nagent-browser pdf output.pdf          # Save as PDF\n\n# Diff (compare page states)\nagent-browser diff snapshot           # Compare current vs last snapshot\nagent-browser diff screenshot --baseline before.png  # Visual pixel diff\n```\n\n## Common Patterns\n\n### Form Submission\n\n```bash\nagent-browser open http:\u002F\u002Flocalhost:3000\u002Fsignup\nagent-browser snapshot -i\nagent-browser fill @e1 \"Jane Doe\"\nagent-browser fill @e2 \"jane@example.com\"\nagent-browser click @e5\nagent-browser wait --load networkidle\n```\n\n### Authentication with State Persistence\n\n```bash\n# Login once and save state\nagent-browser open http:\u002F\u002Flocalhost:3000\u002Flogin\nagent-browser snapshot -i\nagent-browser fill @e1 \"$USERNAME\"\nagent-browser fill @e2 \"$PASSWORD\"\nagent-browser click @e3\nagent-browser wait --url \"**\u002Fdashboard\"\nagent-browser state save auth.json\n\n# Reuse in future sessions\nagent-browser state load auth.json\nagent-browser open http:\u002F\u002Flocalhost:3000\u002Fdashboard\n```\n\n### Data Extraction\n\n```bash\nagent-browser open http:\u002F\u002Flocalhost:3000\u002Fproducts\nagent-browser snapshot -i\nagent-browser get text @e5\nagent-browser get text body > page.txt\n```\n\n### Visual Debugging\n\n```bash\nagent-browser --headed open http:\u002F\u002Flocalhost:3000\nagent-browser highlight @e1\nagent-browser record start demo.webm\n```\n\n## Ref Lifecycle (Important)\n\nRefs (`@e1`, `@e2`, etc.) are invalidated when the page changes. Always re-snapshot after:\n\n- Clicking links or buttons that navigate\n- Form submissions\n- Dynamic content loading (dropdowns, modals)\n\n```bash\nagent-browser click @e5              # Navigates to new page\nagent-browser snapshot -i            # MUST re-snapshot\nagent-browser click @e1              # Use new refs\n```\n\n## Annotated Screenshots (Vision Mode)\n\nUse `--annotate` for screenshots with numbered labels on interactive elements:\n\n```bash\nagent-browser screenshot --annotate\n# Output: [1] @e1 button \"Submit\", [2] @e2 link \"Home\", ...\nagent-browser click @e2\n```\n\n## Semantic Locators (Alternative to Refs)\n\n```bash\nagent-browser find text \"Sign In\" click\nagent-browser find label \"Email\" fill \"user@test.com\"\nagent-browser find role button click --name \"Submit\"\n```\n\n## JavaScript Evaluation\n\n```bash\n# Simple expressions\nagent-browser eval 'document.title'\n\n# Complex JS: use --stdin with heredoc\nagent-browser eval --stdin \u003C\u003C'EVALEOF'\nJSON.stringify(\n  Array.from(document.querySelectorAll(\"img\"))\n    .filter(i => !i.alt)\n    .map(i => ({ src: i.src.split(\"\u002F\").pop(), width: i.width }))\n)\nEVALEOF\n```\n\n## Session Management\n\n```bash\nagent-browser --session site1 open http:\u002F\u002Flocalhost:3000\nagent-browser --session site2 open http:\u002F\u002Flocalhost:3001\nagent-browser session list\nagent-browser close  # Always close when done\n```\n\n## Timeouts and Slow Pages\n\n```bash\nagent-browser wait --load networkidle  # Best for slow pages\nagent-browser wait \"#content\"          # Wait for specific element\nagent-browser wait --url \"**\u002Fdashboard\"  # Wait for URL pattern\nagent-browser wait 5000                # Fixed wait (last resort)\n```\n",{"data":34,"body":63},{"name":4,"description":6,"metadata":35},{"priority":36,"docs":37,"pathPatterns":39,"bashPatterns":47},3,[38],"https:\u002F\u002Fopenai.com\u002Findex\u002Fintroducing-codex\u002F",[40,41,42,43,44,45,46],"agent-browser.json","playwright.config.*","e2e\u002F**","tests\u002Fe2e\u002F**","test\u002Fe2e\u002F**","cypress\u002F**","cypress.config.*",[48,49,50,51,52,53,54,55,56,57,58,59,60,61,62],"\\bagent-browser\\b","\\bnext\\s+dev\\b","\\bnpm\\s+run\\s+dev\\b","\\bpnpm\\s+dev\\b","\\bbun\\s+run\\s+dev\\b","\\byarn\\s+dev\\b","\\bvite\\b","\\bnuxt\\s+dev\\b","\\bvercel\\s+dev\\b","\\blocalhost:\\d+","\\b127\\.0\\.0\\.1:\\d+","\\bcurl\\s+.*localhost","\\bopen\\s+https?:\u002F\u002F","\\bplaywright\\b","\\bcypress\\b",{"type":64,"children":65},"root",[66,75,89,96,101,176,249,255,260,344,350,363,426,432,1200,1206,1213,1343,1349,1568,1574,1661,1667,1733,1739,1757,1776,1844,1850,1863,1910,1916,2046,2052,2183,2189,2279,2285,2398],{"type":67,"tag":68,"props":69,"children":71},"element","h1",{"id":70},"browser-automation-with-agent-browser",[72],{"type":73,"value":74},"text","Browser Automation with agent-browser",{"type":67,"tag":76,"props":77,"children":78},"p",{},[79,81,87],{"type":73,"value":80},"When a dev server is running or the user asks to verify, test, or interact with a web page, use ",{"type":67,"tag":82,"props":83,"children":85},"code",{"className":84},[],[86],{"type":73,"value":4},{"type":73,"value":88}," to automate the browser.",{"type":67,"tag":90,"props":91,"children":93},"h2",{"id":92},"core-workflow",[94],{"type":73,"value":95},"Core Workflow",{"type":67,"tag":76,"props":97,"children":98},{},[99],{"type":73,"value":100},"Every browser automation follows this pattern:",{"type":67,"tag":102,"props":103,"children":104},"ol",{},[105,123,156,166],{"type":67,"tag":106,"props":107,"children":108},"li",{},[109,115,117],{"type":67,"tag":110,"props":111,"children":112},"strong",{},[113],{"type":73,"value":114},"Navigate",{"type":73,"value":116},": ",{"type":67,"tag":82,"props":118,"children":120},{"className":119},[],[121],{"type":73,"value":122},"agent-browser open \u003Curl>",{"type":67,"tag":106,"props":124,"children":125},{},[126,131,132,138,140,146,148,154],{"type":67,"tag":110,"props":127,"children":128},{},[129],{"type":73,"value":130},"Snapshot",{"type":73,"value":116},{"type":67,"tag":82,"props":133,"children":135},{"className":134},[],[136],{"type":73,"value":137},"agent-browser snapshot -i",{"type":73,"value":139}," (get element refs like ",{"type":67,"tag":82,"props":141,"children":143},{"className":142},[],[144],{"type":73,"value":145},"@e1",{"type":73,"value":147},", ",{"type":67,"tag":82,"props":149,"children":151},{"className":150},[],[152],{"type":73,"value":153},"@e2",{"type":73,"value":155},")",{"type":67,"tag":106,"props":157,"children":158},{},[159,164],{"type":67,"tag":110,"props":160,"children":161},{},[162],{"type":73,"value":163},"Interact",{"type":73,"value":165},": Use refs to click, fill, select",{"type":67,"tag":106,"props":167,"children":168},{},[169,174],{"type":67,"tag":110,"props":170,"children":171},{},[172],{"type":73,"value":173},"Re-snapshot",{"type":73,"value":175},": After navigation or DOM changes, get fresh refs",{"type":67,"tag":177,"props":178,"children":183},"pre",{"className":179,"code":180,"language":181,"meta":182,"style":182},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","agent-browser open http:\u002F\u002Flocalhost:3000\nagent-browser wait --load networkidle\nagent-browser snapshot -i\n","bash","",[184],{"type":67,"tag":82,"props":185,"children":186},{"__ignoreMap":182},[187,209,232],{"type":67,"tag":188,"props":189,"children":192},"span",{"class":190,"line":191},"line",1,[193,198,204],{"type":67,"tag":188,"props":194,"children":196},{"style":195},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[197],{"type":73,"value":4},{"type":67,"tag":188,"props":199,"children":201},{"style":200},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[202],{"type":73,"value":203}," open",{"type":67,"tag":188,"props":205,"children":206},{"style":200},[207],{"type":73,"value":208}," http:\u002F\u002Flocalhost:3000\n",{"type":67,"tag":188,"props":210,"children":212},{"class":190,"line":211},2,[213,217,222,227],{"type":67,"tag":188,"props":214,"children":215},{"style":195},[216],{"type":73,"value":4},{"type":67,"tag":188,"props":218,"children":219},{"style":200},[220],{"type":73,"value":221}," wait",{"type":67,"tag":188,"props":223,"children":224},{"style":200},[225],{"type":73,"value":226}," --load",{"type":67,"tag":188,"props":228,"children":229},{"style":200},[230],{"type":73,"value":231}," networkidle\n",{"type":67,"tag":188,"props":233,"children":234},{"class":190,"line":36},[235,239,244],{"type":67,"tag":188,"props":236,"children":237},{"style":195},[238],{"type":73,"value":4},{"type":67,"tag":188,"props":240,"children":241},{"style":200},[242],{"type":73,"value":243}," snapshot",{"type":67,"tag":188,"props":245,"children":246},{"style":200},[247],{"type":73,"value":248}," -i\n",{"type":67,"tag":90,"props":250,"children":252},{"id":251},"dev-server-verification",[253],{"type":73,"value":254},"Dev Server Verification",{"type":67,"tag":76,"props":256,"children":257},{},[258],{"type":73,"value":259},"When a dev server starts, use agent-browser to verify it's working:",{"type":67,"tag":177,"props":261,"children":263},{"className":179,"code":262,"language":181,"meta":182,"style":182},"# After starting a dev server (next dev, vite, etc.)\nagent-browser open http:\u002F\u002Flocalhost:3000\nagent-browser wait --load networkidle\nagent-browser screenshot dev-check.png\nagent-browser snapshot -i\n",[264],{"type":67,"tag":82,"props":265,"children":266},{"__ignoreMap":182},[267,276,291,310,328],{"type":67,"tag":188,"props":268,"children":269},{"class":190,"line":191},[270],{"type":67,"tag":188,"props":271,"children":273},{"style":272},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[274],{"type":73,"value":275},"# After starting a dev server (next dev, vite, etc.)\n",{"type":67,"tag":188,"props":277,"children":278},{"class":190,"line":211},[279,283,287],{"type":67,"tag":188,"props":280,"children":281},{"style":195},[282],{"type":73,"value":4},{"type":67,"tag":188,"props":284,"children":285},{"style":200},[286],{"type":73,"value":203},{"type":67,"tag":188,"props":288,"children":289},{"style":200},[290],{"type":73,"value":208},{"type":67,"tag":188,"props":292,"children":293},{"class":190,"line":36},[294,298,302,306],{"type":67,"tag":188,"props":295,"children":296},{"style":195},[297],{"type":73,"value":4},{"type":67,"tag":188,"props":299,"children":300},{"style":200},[301],{"type":73,"value":221},{"type":67,"tag":188,"props":303,"children":304},{"style":200},[305],{"type":73,"value":226},{"type":67,"tag":188,"props":307,"children":308},{"style":200},[309],{"type":73,"value":231},{"type":67,"tag":188,"props":311,"children":313},{"class":190,"line":312},4,[314,318,323],{"type":67,"tag":188,"props":315,"children":316},{"style":195},[317],{"type":73,"value":4},{"type":67,"tag":188,"props":319,"children":320},{"style":200},[321],{"type":73,"value":322}," screenshot",{"type":67,"tag":188,"props":324,"children":325},{"style":200},[326],{"type":73,"value":327}," dev-check.png\n",{"type":67,"tag":188,"props":329,"children":331},{"class":190,"line":330},5,[332,336,340],{"type":67,"tag":188,"props":333,"children":334},{"style":195},[335],{"type":73,"value":4},{"type":67,"tag":188,"props":337,"children":338},{"style":200},[339],{"type":73,"value":243},{"type":67,"tag":188,"props":341,"children":342},{"style":200},[343],{"type":73,"value":248},{"type":67,"tag":90,"props":345,"children":347},{"id":346},"command-chaining",[348],{"type":73,"value":349},"Command Chaining",{"type":67,"tag":76,"props":351,"children":352},{},[353,355,361],{"type":73,"value":354},"Commands can be chained with ",{"type":67,"tag":82,"props":356,"children":358},{"className":357},[],[359],{"type":73,"value":360},"&&",{"type":73,"value":362},". The browser persists between commands via a background daemon.",{"type":67,"tag":177,"props":364,"children":366},{"className":179,"code":365,"language":181,"meta":182,"style":182},"agent-browser open http:\u002F\u002Flocalhost:3000 && agent-browser wait --load networkidle && agent-browser snapshot -i\n",[367],{"type":67,"tag":82,"props":368,"children":369},{"__ignoreMap":182},[370],{"type":67,"tag":188,"props":371,"children":372},{"class":190,"line":191},[373,377,381,386,392,397,401,405,410,414,418,422],{"type":67,"tag":188,"props":374,"children":375},{"style":195},[376],{"type":73,"value":4},{"type":67,"tag":188,"props":378,"children":379},{"style":200},[380],{"type":73,"value":203},{"type":67,"tag":188,"props":382,"children":383},{"style":200},[384],{"type":73,"value":385}," http:\u002F\u002Flocalhost:3000",{"type":67,"tag":188,"props":387,"children":389},{"style":388},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[390],{"type":73,"value":391}," &&",{"type":67,"tag":188,"props":393,"children":394},{"style":195},[395],{"type":73,"value":396}," agent-browser",{"type":67,"tag":188,"props":398,"children":399},{"style":200},[400],{"type":73,"value":221},{"type":67,"tag":188,"props":402,"children":403},{"style":200},[404],{"type":73,"value":226},{"type":67,"tag":188,"props":406,"children":407},{"style":200},[408],{"type":73,"value":409}," networkidle",{"type":67,"tag":188,"props":411,"children":412},{"style":388},[413],{"type":73,"value":391},{"type":67,"tag":188,"props":415,"children":416},{"style":195},[417],{"type":73,"value":396},{"type":67,"tag":188,"props":419,"children":420},{"style":200},[421],{"type":73,"value":243},{"type":67,"tag":188,"props":423,"children":424},{"style":200},[425],{"type":73,"value":248},{"type":67,"tag":90,"props":427,"children":429},{"id":428},"essential-commands",[430],{"type":73,"value":431},"Essential Commands",{"type":67,"tag":177,"props":433,"children":435},{"className":179,"code":434,"language":181,"meta":182,"style":182},"# Navigation\nagent-browser open \u003Curl>              # Navigate (aliases: goto, navigate)\nagent-browser close                   # Close browser\n\n# Snapshot\nagent-browser snapshot -i             # Interactive elements with refs\nagent-browser snapshot -i -C          # Include cursor-interactive elements\nagent-browser snapshot -s \"#selector\" # Scope to CSS selector\n\n# Interaction (use @refs from snapshot)\nagent-browser click @e1               # Click element\nagent-browser fill @e2 \"text\"         # Clear and type text\nagent-browser type @e2 \"text\"         # Type without clearing\nagent-browser select @e1 \"option\"     # Select dropdown option\nagent-browser check @e1               # Check checkbox\nagent-browser press Enter             # Press key\nagent-browser scroll down 500         # Scroll page\n\n# Get information\nagent-browser get text @e1            # Get element text\nagent-browser get url                 # Get current URL\nagent-browser get title               # Get page title\n\n# Wait\nagent-browser wait @e1                # Wait for element\nagent-browser wait --load networkidle # Wait for network idle\nagent-browser wait --url \"**\u002Fpage\"    # Wait for URL pattern\nagent-browser wait 2000               # Wait milliseconds\n\n# Capture\nagent-browser screenshot              # Screenshot to temp dir\nagent-browser screenshot --full       # Full page screenshot\nagent-browser screenshot --annotate   # Annotated screenshot with numbered labels\nagent-browser pdf output.pdf          # Save as PDF\n\n# Diff (compare page states)\nagent-browser diff snapshot           # Compare current vs last snapshot\nagent-browser diff screenshot --baseline before.png  # Visual pixel diff\n",[436],{"type":67,"tag":82,"props":437,"children":438},{"__ignoreMap":182},[439,447,484,501,510,518,540,566,603,611,620,643,678,712,747,769,792,821,829,838,865,887,909,917,926,947,972,1007,1029,1037,1046,1063,1085,1107,1130,1138,1147,1169],{"type":67,"tag":188,"props":440,"children":441},{"class":190,"line":191},[442],{"type":67,"tag":188,"props":443,"children":444},{"style":272},[445],{"type":73,"value":446},"# Navigation\n",{"type":67,"tag":188,"props":448,"children":449},{"class":190,"line":211},[450,454,458,463,468,474,479],{"type":67,"tag":188,"props":451,"children":452},{"style":195},[453],{"type":73,"value":4},{"type":67,"tag":188,"props":455,"children":456},{"style":200},[457],{"type":73,"value":203},{"type":67,"tag":188,"props":459,"children":460},{"style":388},[461],{"type":73,"value":462}," \u003C",{"type":67,"tag":188,"props":464,"children":465},{"style":200},[466],{"type":73,"value":467},"ur",{"type":67,"tag":188,"props":469,"children":471},{"style":470},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[472],{"type":73,"value":473},"l",{"type":67,"tag":188,"props":475,"children":476},{"style":388},[477],{"type":73,"value":478},">",{"type":67,"tag":188,"props":480,"children":481},{"style":272},[482],{"type":73,"value":483},"              # Navigate (aliases: goto, navigate)\n",{"type":67,"tag":188,"props":485,"children":486},{"class":190,"line":36},[487,491,496],{"type":67,"tag":188,"props":488,"children":489},{"style":195},[490],{"type":73,"value":4},{"type":67,"tag":188,"props":492,"children":493},{"style":200},[494],{"type":73,"value":495}," close",{"type":67,"tag":188,"props":497,"children":498},{"style":272},[499],{"type":73,"value":500},"                   # Close browser\n",{"type":67,"tag":188,"props":502,"children":503},{"class":190,"line":312},[504],{"type":67,"tag":188,"props":505,"children":507},{"emptyLinePlaceholder":506},true,[508],{"type":73,"value":509},"\n",{"type":67,"tag":188,"props":511,"children":512},{"class":190,"line":330},[513],{"type":67,"tag":188,"props":514,"children":515},{"style":272},[516],{"type":73,"value":517},"# Snapshot\n",{"type":67,"tag":188,"props":519,"children":521},{"class":190,"line":520},6,[522,526,530,535],{"type":67,"tag":188,"props":523,"children":524},{"style":195},[525],{"type":73,"value":4},{"type":67,"tag":188,"props":527,"children":528},{"style":200},[529],{"type":73,"value":243},{"type":67,"tag":188,"props":531,"children":532},{"style":200},[533],{"type":73,"value":534}," -i",{"type":67,"tag":188,"props":536,"children":537},{"style":272},[538],{"type":73,"value":539},"             # Interactive elements with refs\n",{"type":67,"tag":188,"props":541,"children":543},{"class":190,"line":542},7,[544,548,552,556,561],{"type":67,"tag":188,"props":545,"children":546},{"style":195},[547],{"type":73,"value":4},{"type":67,"tag":188,"props":549,"children":550},{"style":200},[551],{"type":73,"value":243},{"type":67,"tag":188,"props":553,"children":554},{"style":200},[555],{"type":73,"value":534},{"type":67,"tag":188,"props":557,"children":558},{"style":200},[559],{"type":73,"value":560}," -C",{"type":67,"tag":188,"props":562,"children":563},{"style":272},[564],{"type":73,"value":565},"          # Include cursor-interactive elements\n",{"type":67,"tag":188,"props":567,"children":569},{"class":190,"line":568},8,[570,574,578,583,588,593,598],{"type":67,"tag":188,"props":571,"children":572},{"style":195},[573],{"type":73,"value":4},{"type":67,"tag":188,"props":575,"children":576},{"style":200},[577],{"type":73,"value":243},{"type":67,"tag":188,"props":579,"children":580},{"style":200},[581],{"type":73,"value":582}," -s",{"type":67,"tag":188,"props":584,"children":585},{"style":388},[586],{"type":73,"value":587}," \"",{"type":67,"tag":188,"props":589,"children":590},{"style":200},[591],{"type":73,"value":592},"#selector",{"type":67,"tag":188,"props":594,"children":595},{"style":388},[596],{"type":73,"value":597},"\"",{"type":67,"tag":188,"props":599,"children":600},{"style":272},[601],{"type":73,"value":602}," # Scope to CSS selector\n",{"type":67,"tag":188,"props":604,"children":606},{"class":190,"line":605},9,[607],{"type":67,"tag":188,"props":608,"children":609},{"emptyLinePlaceholder":506},[610],{"type":73,"value":509},{"type":67,"tag":188,"props":612,"children":614},{"class":190,"line":613},10,[615],{"type":67,"tag":188,"props":616,"children":617},{"style":272},[618],{"type":73,"value":619},"# Interaction (use @refs from snapshot)\n",{"type":67,"tag":188,"props":621,"children":623},{"class":190,"line":622},11,[624,628,633,638],{"type":67,"tag":188,"props":625,"children":626},{"style":195},[627],{"type":73,"value":4},{"type":67,"tag":188,"props":629,"children":630},{"style":200},[631],{"type":73,"value":632}," click",{"type":67,"tag":188,"props":634,"children":635},{"style":200},[636],{"type":73,"value":637}," @e1",{"type":67,"tag":188,"props":639,"children":640},{"style":272},[641],{"type":73,"value":642},"               # Click element\n",{"type":67,"tag":188,"props":644,"children":646},{"class":190,"line":645},12,[647,651,656,661,665,669,673],{"type":67,"tag":188,"props":648,"children":649},{"style":195},[650],{"type":73,"value":4},{"type":67,"tag":188,"props":652,"children":653},{"style":200},[654],{"type":73,"value":655}," fill",{"type":67,"tag":188,"props":657,"children":658},{"style":200},[659],{"type":73,"value":660}," @e2",{"type":67,"tag":188,"props":662,"children":663},{"style":388},[664],{"type":73,"value":587},{"type":67,"tag":188,"props":666,"children":667},{"style":200},[668],{"type":73,"value":73},{"type":67,"tag":188,"props":670,"children":671},{"style":388},[672],{"type":73,"value":597},{"type":67,"tag":188,"props":674,"children":675},{"style":272},[676],{"type":73,"value":677},"         # Clear and type text\n",{"type":67,"tag":188,"props":679,"children":681},{"class":190,"line":680},13,[682,686,691,695,699,703,707],{"type":67,"tag":188,"props":683,"children":684},{"style":195},[685],{"type":73,"value":4},{"type":67,"tag":188,"props":687,"children":688},{"style":200},[689],{"type":73,"value":690}," type",{"type":67,"tag":188,"props":692,"children":693},{"style":200},[694],{"type":73,"value":660},{"type":67,"tag":188,"props":696,"children":697},{"style":388},[698],{"type":73,"value":587},{"type":67,"tag":188,"props":700,"children":701},{"style":200},[702],{"type":73,"value":73},{"type":67,"tag":188,"props":704,"children":705},{"style":388},[706],{"type":73,"value":597},{"type":67,"tag":188,"props":708,"children":709},{"style":272},[710],{"type":73,"value":711},"         # Type without clearing\n",{"type":67,"tag":188,"props":713,"children":715},{"class":190,"line":714},14,[716,720,725,729,733,738,742],{"type":67,"tag":188,"props":717,"children":718},{"style":195},[719],{"type":73,"value":4},{"type":67,"tag":188,"props":721,"children":722},{"style":200},[723],{"type":73,"value":724}," select",{"type":67,"tag":188,"props":726,"children":727},{"style":200},[728],{"type":73,"value":637},{"type":67,"tag":188,"props":730,"children":731},{"style":388},[732],{"type":73,"value":587},{"type":67,"tag":188,"props":734,"children":735},{"style":200},[736],{"type":73,"value":737},"option",{"type":67,"tag":188,"props":739,"children":740},{"style":388},[741],{"type":73,"value":597},{"type":67,"tag":188,"props":743,"children":744},{"style":272},[745],{"type":73,"value":746},"     # Select dropdown option\n",{"type":67,"tag":188,"props":748,"children":750},{"class":190,"line":749},15,[751,755,760,764],{"type":67,"tag":188,"props":752,"children":753},{"style":195},[754],{"type":73,"value":4},{"type":67,"tag":188,"props":756,"children":757},{"style":200},[758],{"type":73,"value":759}," check",{"type":67,"tag":188,"props":761,"children":762},{"style":200},[763],{"type":73,"value":637},{"type":67,"tag":188,"props":765,"children":766},{"style":272},[767],{"type":73,"value":768},"               # Check checkbox\n",{"type":67,"tag":188,"props":770,"children":772},{"class":190,"line":771},16,[773,777,782,787],{"type":67,"tag":188,"props":774,"children":775},{"style":195},[776],{"type":73,"value":4},{"type":67,"tag":188,"props":778,"children":779},{"style":200},[780],{"type":73,"value":781}," press",{"type":67,"tag":188,"props":783,"children":784},{"style":200},[785],{"type":73,"value":786}," Enter",{"type":67,"tag":188,"props":788,"children":789},{"style":272},[790],{"type":73,"value":791},"             # Press key\n",{"type":67,"tag":188,"props":793,"children":795},{"class":190,"line":794},17,[796,800,805,810,816],{"type":67,"tag":188,"props":797,"children":798},{"style":195},[799],{"type":73,"value":4},{"type":67,"tag":188,"props":801,"children":802},{"style":200},[803],{"type":73,"value":804}," scroll",{"type":67,"tag":188,"props":806,"children":807},{"style":200},[808],{"type":73,"value":809}," down",{"type":67,"tag":188,"props":811,"children":813},{"style":812},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[814],{"type":73,"value":815}," 500",{"type":67,"tag":188,"props":817,"children":818},{"style":272},[819],{"type":73,"value":820},"         # Scroll page\n",{"type":67,"tag":188,"props":822,"children":824},{"class":190,"line":823},18,[825],{"type":67,"tag":188,"props":826,"children":827},{"emptyLinePlaceholder":506},[828],{"type":73,"value":509},{"type":67,"tag":188,"props":830,"children":832},{"class":190,"line":831},19,[833],{"type":67,"tag":188,"props":834,"children":835},{"style":272},[836],{"type":73,"value":837},"# Get information\n",{"type":67,"tag":188,"props":839,"children":841},{"class":190,"line":840},20,[842,846,851,856,860],{"type":67,"tag":188,"props":843,"children":844},{"style":195},[845],{"type":73,"value":4},{"type":67,"tag":188,"props":847,"children":848},{"style":200},[849],{"type":73,"value":850}," get",{"type":67,"tag":188,"props":852,"children":853},{"style":200},[854],{"type":73,"value":855}," text",{"type":67,"tag":188,"props":857,"children":858},{"style":200},[859],{"type":73,"value":637},{"type":67,"tag":188,"props":861,"children":862},{"style":272},[863],{"type":73,"value":864},"            # Get element text\n",{"type":67,"tag":188,"props":866,"children":868},{"class":190,"line":867},21,[869,873,877,882],{"type":67,"tag":188,"props":870,"children":871},{"style":195},[872],{"type":73,"value":4},{"type":67,"tag":188,"props":874,"children":875},{"style":200},[876],{"type":73,"value":850},{"type":67,"tag":188,"props":878,"children":879},{"style":200},[880],{"type":73,"value":881}," url",{"type":67,"tag":188,"props":883,"children":884},{"style":272},[885],{"type":73,"value":886},"                 # Get current URL\n",{"type":67,"tag":188,"props":888,"children":890},{"class":190,"line":889},22,[891,895,899,904],{"type":67,"tag":188,"props":892,"children":893},{"style":195},[894],{"type":73,"value":4},{"type":67,"tag":188,"props":896,"children":897},{"style":200},[898],{"type":73,"value":850},{"type":67,"tag":188,"props":900,"children":901},{"style":200},[902],{"type":73,"value":903}," title",{"type":67,"tag":188,"props":905,"children":906},{"style":272},[907],{"type":73,"value":908},"               # Get page title\n",{"type":67,"tag":188,"props":910,"children":912},{"class":190,"line":911},23,[913],{"type":67,"tag":188,"props":914,"children":915},{"emptyLinePlaceholder":506},[916],{"type":73,"value":509},{"type":67,"tag":188,"props":918,"children":920},{"class":190,"line":919},24,[921],{"type":67,"tag":188,"props":922,"children":923},{"style":272},[924],{"type":73,"value":925},"# Wait\n",{"type":67,"tag":188,"props":927,"children":929},{"class":190,"line":928},25,[930,934,938,942],{"type":67,"tag":188,"props":931,"children":932},{"style":195},[933],{"type":73,"value":4},{"type":67,"tag":188,"props":935,"children":936},{"style":200},[937],{"type":73,"value":221},{"type":67,"tag":188,"props":939,"children":940},{"style":200},[941],{"type":73,"value":637},{"type":67,"tag":188,"props":943,"children":944},{"style":272},[945],{"type":73,"value":946},"                # Wait for element\n",{"type":67,"tag":188,"props":948,"children":950},{"class":190,"line":949},26,[951,955,959,963,967],{"type":67,"tag":188,"props":952,"children":953},{"style":195},[954],{"type":73,"value":4},{"type":67,"tag":188,"props":956,"children":957},{"style":200},[958],{"type":73,"value":221},{"type":67,"tag":188,"props":960,"children":961},{"style":200},[962],{"type":73,"value":226},{"type":67,"tag":188,"props":964,"children":965},{"style":200},[966],{"type":73,"value":409},{"type":67,"tag":188,"props":968,"children":969},{"style":272},[970],{"type":73,"value":971}," # Wait for network idle\n",{"type":67,"tag":188,"props":973,"children":975},{"class":190,"line":974},27,[976,980,984,989,993,998,1002],{"type":67,"tag":188,"props":977,"children":978},{"style":195},[979],{"type":73,"value":4},{"type":67,"tag":188,"props":981,"children":982},{"style":200},[983],{"type":73,"value":221},{"type":67,"tag":188,"props":985,"children":986},{"style":200},[987],{"type":73,"value":988}," --url",{"type":67,"tag":188,"props":990,"children":991},{"style":388},[992],{"type":73,"value":587},{"type":67,"tag":188,"props":994,"children":995},{"style":200},[996],{"type":73,"value":997},"**\u002Fpage",{"type":67,"tag":188,"props":999,"children":1000},{"style":388},[1001],{"type":73,"value":597},{"type":67,"tag":188,"props":1003,"children":1004},{"style":272},[1005],{"type":73,"value":1006},"    # Wait for URL pattern\n",{"type":67,"tag":188,"props":1008,"children":1010},{"class":190,"line":1009},28,[1011,1015,1019,1024],{"type":67,"tag":188,"props":1012,"children":1013},{"style":195},[1014],{"type":73,"value":4},{"type":67,"tag":188,"props":1016,"children":1017},{"style":200},[1018],{"type":73,"value":221},{"type":67,"tag":188,"props":1020,"children":1021},{"style":812},[1022],{"type":73,"value":1023}," 2000",{"type":67,"tag":188,"props":1025,"children":1026},{"style":272},[1027],{"type":73,"value":1028},"               # Wait milliseconds\n",{"type":67,"tag":188,"props":1030,"children":1032},{"class":190,"line":1031},29,[1033],{"type":67,"tag":188,"props":1034,"children":1035},{"emptyLinePlaceholder":506},[1036],{"type":73,"value":509},{"type":67,"tag":188,"props":1038,"children":1040},{"class":190,"line":1039},30,[1041],{"type":67,"tag":188,"props":1042,"children":1043},{"style":272},[1044],{"type":73,"value":1045},"# Capture\n",{"type":67,"tag":188,"props":1047,"children":1049},{"class":190,"line":1048},31,[1050,1054,1058],{"type":67,"tag":188,"props":1051,"children":1052},{"style":195},[1053],{"type":73,"value":4},{"type":67,"tag":188,"props":1055,"children":1056},{"style":200},[1057],{"type":73,"value":322},{"type":67,"tag":188,"props":1059,"children":1060},{"style":272},[1061],{"type":73,"value":1062},"              # Screenshot to temp dir\n",{"type":67,"tag":188,"props":1064,"children":1066},{"class":190,"line":1065},32,[1067,1071,1075,1080],{"type":67,"tag":188,"props":1068,"children":1069},{"style":195},[1070],{"type":73,"value":4},{"type":67,"tag":188,"props":1072,"children":1073},{"style":200},[1074],{"type":73,"value":322},{"type":67,"tag":188,"props":1076,"children":1077},{"style":200},[1078],{"type":73,"value":1079}," --full",{"type":67,"tag":188,"props":1081,"children":1082},{"style":272},[1083],{"type":73,"value":1084},"       # Full page screenshot\n",{"type":67,"tag":188,"props":1086,"children":1088},{"class":190,"line":1087},33,[1089,1093,1097,1102],{"type":67,"tag":188,"props":1090,"children":1091},{"style":195},[1092],{"type":73,"value":4},{"type":67,"tag":188,"props":1094,"children":1095},{"style":200},[1096],{"type":73,"value":322},{"type":67,"tag":188,"props":1098,"children":1099},{"style":200},[1100],{"type":73,"value":1101}," --annotate",{"type":67,"tag":188,"props":1103,"children":1104},{"style":272},[1105],{"type":73,"value":1106},"   # Annotated screenshot with numbered labels\n",{"type":67,"tag":188,"props":1108,"children":1110},{"class":190,"line":1109},34,[1111,1115,1120,1125],{"type":67,"tag":188,"props":1112,"children":1113},{"style":195},[1114],{"type":73,"value":4},{"type":67,"tag":188,"props":1116,"children":1117},{"style":200},[1118],{"type":73,"value":1119}," pdf",{"type":67,"tag":188,"props":1121,"children":1122},{"style":200},[1123],{"type":73,"value":1124}," output.pdf",{"type":67,"tag":188,"props":1126,"children":1127},{"style":272},[1128],{"type":73,"value":1129},"          # Save as PDF\n",{"type":67,"tag":188,"props":1131,"children":1133},{"class":190,"line":1132},35,[1134],{"type":67,"tag":188,"props":1135,"children":1136},{"emptyLinePlaceholder":506},[1137],{"type":73,"value":509},{"type":67,"tag":188,"props":1139,"children":1141},{"class":190,"line":1140},36,[1142],{"type":67,"tag":188,"props":1143,"children":1144},{"style":272},[1145],{"type":73,"value":1146},"# Diff (compare page states)\n",{"type":67,"tag":188,"props":1148,"children":1150},{"class":190,"line":1149},37,[1151,1155,1160,1164],{"type":67,"tag":188,"props":1152,"children":1153},{"style":195},[1154],{"type":73,"value":4},{"type":67,"tag":188,"props":1156,"children":1157},{"style":200},[1158],{"type":73,"value":1159}," diff",{"type":67,"tag":188,"props":1161,"children":1162},{"style":200},[1163],{"type":73,"value":243},{"type":67,"tag":188,"props":1165,"children":1166},{"style":272},[1167],{"type":73,"value":1168},"           # Compare current vs last snapshot\n",{"type":67,"tag":188,"props":1170,"children":1172},{"class":190,"line":1171},38,[1173,1177,1181,1185,1190,1195],{"type":67,"tag":188,"props":1174,"children":1175},{"style":195},[1176],{"type":73,"value":4},{"type":67,"tag":188,"props":1178,"children":1179},{"style":200},[1180],{"type":73,"value":1159},{"type":67,"tag":188,"props":1182,"children":1183},{"style":200},[1184],{"type":73,"value":322},{"type":67,"tag":188,"props":1186,"children":1187},{"style":200},[1188],{"type":73,"value":1189}," --baseline",{"type":67,"tag":188,"props":1191,"children":1192},{"style":200},[1193],{"type":73,"value":1194}," before.png",{"type":67,"tag":188,"props":1196,"children":1197},{"style":272},[1198],{"type":73,"value":1199},"  # Visual pixel diff\n",{"type":67,"tag":90,"props":1201,"children":1203},{"id":1202},"common-patterns",[1204],{"type":73,"value":1205},"Common Patterns",{"type":67,"tag":1207,"props":1208,"children":1210},"h3",{"id":1209},"form-submission",[1211],{"type":73,"value":1212},"Form Submission",{"type":67,"tag":177,"props":1214,"children":1216},{"className":179,"code":1215,"language":181,"meta":182,"style":182},"agent-browser open http:\u002F\u002Flocalhost:3000\u002Fsignup\nagent-browser snapshot -i\nagent-browser fill @e1 \"Jane Doe\"\nagent-browser fill @e2 \"jane@example.com\"\nagent-browser click @e5\nagent-browser wait --load networkidle\n",[1217],{"type":67,"tag":82,"props":1218,"children":1219},{"__ignoreMap":182},[1220,1236,1251,1280,1308,1324],{"type":67,"tag":188,"props":1221,"children":1222},{"class":190,"line":191},[1223,1227,1231],{"type":67,"tag":188,"props":1224,"children":1225},{"style":195},[1226],{"type":73,"value":4},{"type":67,"tag":188,"props":1228,"children":1229},{"style":200},[1230],{"type":73,"value":203},{"type":67,"tag":188,"props":1232,"children":1233},{"style":200},[1234],{"type":73,"value":1235}," http:\u002F\u002Flocalhost:3000\u002Fsignup\n",{"type":67,"tag":188,"props":1237,"children":1238},{"class":190,"line":211},[1239,1243,1247],{"type":67,"tag":188,"props":1240,"children":1241},{"style":195},[1242],{"type":73,"value":4},{"type":67,"tag":188,"props":1244,"children":1245},{"style":200},[1246],{"type":73,"value":243},{"type":67,"tag":188,"props":1248,"children":1249},{"style":200},[1250],{"type":73,"value":248},{"type":67,"tag":188,"props":1252,"children":1253},{"class":190,"line":36},[1254,1258,1262,1266,1270,1275],{"type":67,"tag":188,"props":1255,"children":1256},{"style":195},[1257],{"type":73,"value":4},{"type":67,"tag":188,"props":1259,"children":1260},{"style":200},[1261],{"type":73,"value":655},{"type":67,"tag":188,"props":1263,"children":1264},{"style":200},[1265],{"type":73,"value":637},{"type":67,"tag":188,"props":1267,"children":1268},{"style":388},[1269],{"type":73,"value":587},{"type":67,"tag":188,"props":1271,"children":1272},{"style":200},[1273],{"type":73,"value":1274},"Jane Doe",{"type":67,"tag":188,"props":1276,"children":1277},{"style":388},[1278],{"type":73,"value":1279},"\"\n",{"type":67,"tag":188,"props":1281,"children":1282},{"class":190,"line":312},[1283,1287,1291,1295,1299,1304],{"type":67,"tag":188,"props":1284,"children":1285},{"style":195},[1286],{"type":73,"value":4},{"type":67,"tag":188,"props":1288,"children":1289},{"style":200},[1290],{"type":73,"value":655},{"type":67,"tag":188,"props":1292,"children":1293},{"style":200},[1294],{"type":73,"value":660},{"type":67,"tag":188,"props":1296,"children":1297},{"style":388},[1298],{"type":73,"value":587},{"type":67,"tag":188,"props":1300,"children":1301},{"style":200},[1302],{"type":73,"value":1303},"jane@example.com",{"type":67,"tag":188,"props":1305,"children":1306},{"style":388},[1307],{"type":73,"value":1279},{"type":67,"tag":188,"props":1309,"children":1310},{"class":190,"line":330},[1311,1315,1319],{"type":67,"tag":188,"props":1312,"children":1313},{"style":195},[1314],{"type":73,"value":4},{"type":67,"tag":188,"props":1316,"children":1317},{"style":200},[1318],{"type":73,"value":632},{"type":67,"tag":188,"props":1320,"children":1321},{"style":200},[1322],{"type":73,"value":1323}," @e5\n",{"type":67,"tag":188,"props":1325,"children":1326},{"class":190,"line":520},[1327,1331,1335,1339],{"type":67,"tag":188,"props":1328,"children":1329},{"style":195},[1330],{"type":73,"value":4},{"type":67,"tag":188,"props":1332,"children":1333},{"style":200},[1334],{"type":73,"value":221},{"type":67,"tag":188,"props":1336,"children":1337},{"style":200},[1338],{"type":73,"value":226},{"type":67,"tag":188,"props":1340,"children":1341},{"style":200},[1342],{"type":73,"value":231},{"type":67,"tag":1207,"props":1344,"children":1346},{"id":1345},"authentication-with-state-persistence",[1347],{"type":73,"value":1348},"Authentication with State Persistence",{"type":67,"tag":177,"props":1350,"children":1352},{"className":179,"code":1351,"language":181,"meta":182,"style":182},"# Login once and save state\nagent-browser open http:\u002F\u002Flocalhost:3000\u002Flogin\nagent-browser snapshot -i\nagent-browser fill @e1 \"$USERNAME\"\nagent-browser fill @e2 \"$PASSWORD\"\nagent-browser click @e3\nagent-browser wait --url \"**\u002Fdashboard\"\nagent-browser state save auth.json\n\n# Reuse in future sessions\nagent-browser state load auth.json\nagent-browser open http:\u002F\u002Flocalhost:3000\u002Fdashboard\n",[1353],{"type":67,"tag":82,"props":1354,"children":1355},{"__ignoreMap":182},[1356,1364,1380,1395,1423,1451,1467,1495,1517,1524,1532,1552],{"type":67,"tag":188,"props":1357,"children":1358},{"class":190,"line":191},[1359],{"type":67,"tag":188,"props":1360,"children":1361},{"style":272},[1362],{"type":73,"value":1363},"# Login once and save state\n",{"type":67,"tag":188,"props":1365,"children":1366},{"class":190,"line":211},[1367,1371,1375],{"type":67,"tag":188,"props":1368,"children":1369},{"style":195},[1370],{"type":73,"value":4},{"type":67,"tag":188,"props":1372,"children":1373},{"style":200},[1374],{"type":73,"value":203},{"type":67,"tag":188,"props":1376,"children":1377},{"style":200},[1378],{"type":73,"value":1379}," http:\u002F\u002Flocalhost:3000\u002Flogin\n",{"type":67,"tag":188,"props":1381,"children":1382},{"class":190,"line":36},[1383,1387,1391],{"type":67,"tag":188,"props":1384,"children":1385},{"style":195},[1386],{"type":73,"value":4},{"type":67,"tag":188,"props":1388,"children":1389},{"style":200},[1390],{"type":73,"value":243},{"type":67,"tag":188,"props":1392,"children":1393},{"style":200},[1394],{"type":73,"value":248},{"type":67,"tag":188,"props":1396,"children":1397},{"class":190,"line":312},[1398,1402,1406,1410,1414,1419],{"type":67,"tag":188,"props":1399,"children":1400},{"style":195},[1401],{"type":73,"value":4},{"type":67,"tag":188,"props":1403,"children":1404},{"style":200},[1405],{"type":73,"value":655},{"type":67,"tag":188,"props":1407,"children":1408},{"style":200},[1409],{"type":73,"value":637},{"type":67,"tag":188,"props":1411,"children":1412},{"style":388},[1413],{"type":73,"value":587},{"type":67,"tag":188,"props":1415,"children":1416},{"style":470},[1417],{"type":73,"value":1418},"$USERNAME",{"type":67,"tag":188,"props":1420,"children":1421},{"style":388},[1422],{"type":73,"value":1279},{"type":67,"tag":188,"props":1424,"children":1425},{"class":190,"line":330},[1426,1430,1434,1438,1442,1447],{"type":67,"tag":188,"props":1427,"children":1428},{"style":195},[1429],{"type":73,"value":4},{"type":67,"tag":188,"props":1431,"children":1432},{"style":200},[1433],{"type":73,"value":655},{"type":67,"tag":188,"props":1435,"children":1436},{"style":200},[1437],{"type":73,"value":660},{"type":67,"tag":188,"props":1439,"children":1440},{"style":388},[1441],{"type":73,"value":587},{"type":67,"tag":188,"props":1443,"children":1444},{"style":470},[1445],{"type":73,"value":1446},"$PASSWORD",{"type":67,"tag":188,"props":1448,"children":1449},{"style":388},[1450],{"type":73,"value":1279},{"type":67,"tag":188,"props":1452,"children":1453},{"class":190,"line":520},[1454,1458,1462],{"type":67,"tag":188,"props":1455,"children":1456},{"style":195},[1457],{"type":73,"value":4},{"type":67,"tag":188,"props":1459,"children":1460},{"style":200},[1461],{"type":73,"value":632},{"type":67,"tag":188,"props":1463,"children":1464},{"style":200},[1465],{"type":73,"value":1466}," @e3\n",{"type":67,"tag":188,"props":1468,"children":1469},{"class":190,"line":542},[1470,1474,1478,1482,1486,1491],{"type":67,"tag":188,"props":1471,"children":1472},{"style":195},[1473],{"type":73,"value":4},{"type":67,"tag":188,"props":1475,"children":1476},{"style":200},[1477],{"type":73,"value":221},{"type":67,"tag":188,"props":1479,"children":1480},{"style":200},[1481],{"type":73,"value":988},{"type":67,"tag":188,"props":1483,"children":1484},{"style":388},[1485],{"type":73,"value":587},{"type":67,"tag":188,"props":1487,"children":1488},{"style":200},[1489],{"type":73,"value":1490},"**\u002Fdashboard",{"type":67,"tag":188,"props":1492,"children":1493},{"style":388},[1494],{"type":73,"value":1279},{"type":67,"tag":188,"props":1496,"children":1497},{"class":190,"line":568},[1498,1502,1507,1512],{"type":67,"tag":188,"props":1499,"children":1500},{"style":195},[1501],{"type":73,"value":4},{"type":67,"tag":188,"props":1503,"children":1504},{"style":200},[1505],{"type":73,"value":1506}," state",{"type":67,"tag":188,"props":1508,"children":1509},{"style":200},[1510],{"type":73,"value":1511}," save",{"type":67,"tag":188,"props":1513,"children":1514},{"style":200},[1515],{"type":73,"value":1516}," auth.json\n",{"type":67,"tag":188,"props":1518,"children":1519},{"class":190,"line":605},[1520],{"type":67,"tag":188,"props":1521,"children":1522},{"emptyLinePlaceholder":506},[1523],{"type":73,"value":509},{"type":67,"tag":188,"props":1525,"children":1526},{"class":190,"line":613},[1527],{"type":67,"tag":188,"props":1528,"children":1529},{"style":272},[1530],{"type":73,"value":1531},"# Reuse in future sessions\n",{"type":67,"tag":188,"props":1533,"children":1534},{"class":190,"line":622},[1535,1539,1543,1548],{"type":67,"tag":188,"props":1536,"children":1537},{"style":195},[1538],{"type":73,"value":4},{"type":67,"tag":188,"props":1540,"children":1541},{"style":200},[1542],{"type":73,"value":1506},{"type":67,"tag":188,"props":1544,"children":1545},{"style":200},[1546],{"type":73,"value":1547}," load",{"type":67,"tag":188,"props":1549,"children":1550},{"style":200},[1551],{"type":73,"value":1516},{"type":67,"tag":188,"props":1553,"children":1554},{"class":190,"line":645},[1555,1559,1563],{"type":67,"tag":188,"props":1556,"children":1557},{"style":195},[1558],{"type":73,"value":4},{"type":67,"tag":188,"props":1560,"children":1561},{"style":200},[1562],{"type":73,"value":203},{"type":67,"tag":188,"props":1564,"children":1565},{"style":200},[1566],{"type":73,"value":1567}," http:\u002F\u002Flocalhost:3000\u002Fdashboard\n",{"type":67,"tag":1207,"props":1569,"children":1571},{"id":1570},"data-extraction",[1572],{"type":73,"value":1573},"Data Extraction",{"type":67,"tag":177,"props":1575,"children":1577},{"className":179,"code":1576,"language":181,"meta":182,"style":182},"agent-browser open http:\u002F\u002Flocalhost:3000\u002Fproducts\nagent-browser snapshot -i\nagent-browser get text @e5\nagent-browser get text body > page.txt\n",[1578],{"type":67,"tag":82,"props":1579,"children":1580},{"__ignoreMap":182},[1581,1597,1612,1631],{"type":67,"tag":188,"props":1582,"children":1583},{"class":190,"line":191},[1584,1588,1592],{"type":67,"tag":188,"props":1585,"children":1586},{"style":195},[1587],{"type":73,"value":4},{"type":67,"tag":188,"props":1589,"children":1590},{"style":200},[1591],{"type":73,"value":203},{"type":67,"tag":188,"props":1593,"children":1594},{"style":200},[1595],{"type":73,"value":1596}," http:\u002F\u002Flocalhost:3000\u002Fproducts\n",{"type":67,"tag":188,"props":1598,"children":1599},{"class":190,"line":211},[1600,1604,1608],{"type":67,"tag":188,"props":1601,"children":1602},{"style":195},[1603],{"type":73,"value":4},{"type":67,"tag":188,"props":1605,"children":1606},{"style":200},[1607],{"type":73,"value":243},{"type":67,"tag":188,"props":1609,"children":1610},{"style":200},[1611],{"type":73,"value":248},{"type":67,"tag":188,"props":1613,"children":1614},{"class":190,"line":36},[1615,1619,1623,1627],{"type":67,"tag":188,"props":1616,"children":1617},{"style":195},[1618],{"type":73,"value":4},{"type":67,"tag":188,"props":1620,"children":1621},{"style":200},[1622],{"type":73,"value":850},{"type":67,"tag":188,"props":1624,"children":1625},{"style":200},[1626],{"type":73,"value":855},{"type":67,"tag":188,"props":1628,"children":1629},{"style":200},[1630],{"type":73,"value":1323},{"type":67,"tag":188,"props":1632,"children":1633},{"class":190,"line":312},[1634,1638,1642,1646,1651,1656],{"type":67,"tag":188,"props":1635,"children":1636},{"style":195},[1637],{"type":73,"value":4},{"type":67,"tag":188,"props":1639,"children":1640},{"style":200},[1641],{"type":73,"value":850},{"type":67,"tag":188,"props":1643,"children":1644},{"style":200},[1645],{"type":73,"value":855},{"type":67,"tag":188,"props":1647,"children":1648},{"style":200},[1649],{"type":73,"value":1650}," body",{"type":67,"tag":188,"props":1652,"children":1653},{"style":388},[1654],{"type":73,"value":1655}," >",{"type":67,"tag":188,"props":1657,"children":1658},{"style":200},[1659],{"type":73,"value":1660}," page.txt\n",{"type":67,"tag":1207,"props":1662,"children":1664},{"id":1663},"visual-debugging",[1665],{"type":73,"value":1666},"Visual Debugging",{"type":67,"tag":177,"props":1668,"children":1670},{"className":179,"code":1669,"language":181,"meta":182,"style":182},"agent-browser --headed open http:\u002F\u002Flocalhost:3000\nagent-browser highlight @e1\nagent-browser record start demo.webm\n",[1671],{"type":67,"tag":82,"props":1672,"children":1673},{"__ignoreMap":182},[1674,1694,1711],{"type":67,"tag":188,"props":1675,"children":1676},{"class":190,"line":191},[1677,1681,1686,1690],{"type":67,"tag":188,"props":1678,"children":1679},{"style":195},[1680],{"type":73,"value":4},{"type":67,"tag":188,"props":1682,"children":1683},{"style":200},[1684],{"type":73,"value":1685}," --headed",{"type":67,"tag":188,"props":1687,"children":1688},{"style":200},[1689],{"type":73,"value":203},{"type":67,"tag":188,"props":1691,"children":1692},{"style":200},[1693],{"type":73,"value":208},{"type":67,"tag":188,"props":1695,"children":1696},{"class":190,"line":211},[1697,1701,1706],{"type":67,"tag":188,"props":1698,"children":1699},{"style":195},[1700],{"type":73,"value":4},{"type":67,"tag":188,"props":1702,"children":1703},{"style":200},[1704],{"type":73,"value":1705}," highlight",{"type":67,"tag":188,"props":1707,"children":1708},{"style":200},[1709],{"type":73,"value":1710}," @e1\n",{"type":67,"tag":188,"props":1712,"children":1713},{"class":190,"line":36},[1714,1718,1723,1728],{"type":67,"tag":188,"props":1715,"children":1716},{"style":195},[1717],{"type":73,"value":4},{"type":67,"tag":188,"props":1719,"children":1720},{"style":200},[1721],{"type":73,"value":1722}," record",{"type":67,"tag":188,"props":1724,"children":1725},{"style":200},[1726],{"type":73,"value":1727}," start",{"type":67,"tag":188,"props":1729,"children":1730},{"style":200},[1731],{"type":73,"value":1732}," demo.webm\n",{"type":67,"tag":90,"props":1734,"children":1736},{"id":1735},"ref-lifecycle-important",[1737],{"type":73,"value":1738},"Ref Lifecycle (Important)",{"type":67,"tag":76,"props":1740,"children":1741},{},[1742,1744,1749,1750,1755],{"type":73,"value":1743},"Refs (",{"type":67,"tag":82,"props":1745,"children":1747},{"className":1746},[],[1748],{"type":73,"value":145},{"type":73,"value":147},{"type":67,"tag":82,"props":1751,"children":1753},{"className":1752},[],[1754],{"type":73,"value":153},{"type":73,"value":1756},", etc.) are invalidated when the page changes. Always re-snapshot after:",{"type":67,"tag":1758,"props":1759,"children":1760},"ul",{},[1761,1766,1771],{"type":67,"tag":106,"props":1762,"children":1763},{},[1764],{"type":73,"value":1765},"Clicking links or buttons that navigate",{"type":67,"tag":106,"props":1767,"children":1768},{},[1769],{"type":73,"value":1770},"Form submissions",{"type":67,"tag":106,"props":1772,"children":1773},{},[1774],{"type":73,"value":1775},"Dynamic content loading (dropdowns, modals)",{"type":67,"tag":177,"props":1777,"children":1779},{"className":179,"code":1778,"language":181,"meta":182,"style":182},"agent-browser click @e5              # Navigates to new page\nagent-browser snapshot -i            # MUST re-snapshot\nagent-browser click @e1              # Use new refs\n",[1780],{"type":67,"tag":82,"props":1781,"children":1782},{"__ignoreMap":182},[1783,1804,1824],{"type":67,"tag":188,"props":1784,"children":1785},{"class":190,"line":191},[1786,1790,1794,1799],{"type":67,"tag":188,"props":1787,"children":1788},{"style":195},[1789],{"type":73,"value":4},{"type":67,"tag":188,"props":1791,"children":1792},{"style":200},[1793],{"type":73,"value":632},{"type":67,"tag":188,"props":1795,"children":1796},{"style":200},[1797],{"type":73,"value":1798}," @e5",{"type":67,"tag":188,"props":1800,"children":1801},{"style":272},[1802],{"type":73,"value":1803},"              # Navigates to new page\n",{"type":67,"tag":188,"props":1805,"children":1806},{"class":190,"line":211},[1807,1811,1815,1819],{"type":67,"tag":188,"props":1808,"children":1809},{"style":195},[1810],{"type":73,"value":4},{"type":67,"tag":188,"props":1812,"children":1813},{"style":200},[1814],{"type":73,"value":243},{"type":67,"tag":188,"props":1816,"children":1817},{"style":200},[1818],{"type":73,"value":534},{"type":67,"tag":188,"props":1820,"children":1821},{"style":272},[1822],{"type":73,"value":1823},"            # MUST re-snapshot\n",{"type":67,"tag":188,"props":1825,"children":1826},{"class":190,"line":36},[1827,1831,1835,1839],{"type":67,"tag":188,"props":1828,"children":1829},{"style":195},[1830],{"type":73,"value":4},{"type":67,"tag":188,"props":1832,"children":1833},{"style":200},[1834],{"type":73,"value":632},{"type":67,"tag":188,"props":1836,"children":1837},{"style":200},[1838],{"type":73,"value":637},{"type":67,"tag":188,"props":1840,"children":1841},{"style":272},[1842],{"type":73,"value":1843},"              # Use new refs\n",{"type":67,"tag":90,"props":1845,"children":1847},{"id":1846},"annotated-screenshots-vision-mode",[1848],{"type":73,"value":1849},"Annotated Screenshots (Vision Mode)",{"type":67,"tag":76,"props":1851,"children":1852},{},[1853,1855,1861],{"type":73,"value":1854},"Use ",{"type":67,"tag":82,"props":1856,"children":1858},{"className":1857},[],[1859],{"type":73,"value":1860},"--annotate",{"type":73,"value":1862}," for screenshots with numbered labels on interactive elements:",{"type":67,"tag":177,"props":1864,"children":1866},{"className":179,"code":1865,"language":181,"meta":182,"style":182},"agent-browser screenshot --annotate\n# Output: [1] @e1 button \"Submit\", [2] @e2 link \"Home\", ...\nagent-browser click @e2\n",[1867],{"type":67,"tag":82,"props":1868,"children":1869},{"__ignoreMap":182},[1870,1886,1894],{"type":67,"tag":188,"props":1871,"children":1872},{"class":190,"line":191},[1873,1877,1881],{"type":67,"tag":188,"props":1874,"children":1875},{"style":195},[1876],{"type":73,"value":4},{"type":67,"tag":188,"props":1878,"children":1879},{"style":200},[1880],{"type":73,"value":322},{"type":67,"tag":188,"props":1882,"children":1883},{"style":200},[1884],{"type":73,"value":1885}," --annotate\n",{"type":67,"tag":188,"props":1887,"children":1888},{"class":190,"line":211},[1889],{"type":67,"tag":188,"props":1890,"children":1891},{"style":272},[1892],{"type":73,"value":1893},"# Output: [1] @e1 button \"Submit\", [2] @e2 link \"Home\", ...\n",{"type":67,"tag":188,"props":1895,"children":1896},{"class":190,"line":36},[1897,1901,1905],{"type":67,"tag":188,"props":1898,"children":1899},{"style":195},[1900],{"type":73,"value":4},{"type":67,"tag":188,"props":1902,"children":1903},{"style":200},[1904],{"type":73,"value":632},{"type":67,"tag":188,"props":1906,"children":1907},{"style":200},[1908],{"type":73,"value":1909}," @e2\n",{"type":67,"tag":90,"props":1911,"children":1913},{"id":1912},"semantic-locators-alternative-to-refs",[1914],{"type":73,"value":1915},"Semantic Locators (Alternative to Refs)",{"type":67,"tag":177,"props":1917,"children":1919},{"className":179,"code":1918,"language":181,"meta":182,"style":182},"agent-browser find text \"Sign In\" click\nagent-browser find label \"Email\" fill \"user@test.com\"\nagent-browser find role button click --name \"Submit\"\n",[1920],{"type":67,"tag":82,"props":1921,"children":1922},{"__ignoreMap":182},[1923,1957,2003],{"type":67,"tag":188,"props":1924,"children":1925},{"class":190,"line":191},[1926,1930,1935,1939,1943,1948,1952],{"type":67,"tag":188,"props":1927,"children":1928},{"style":195},[1929],{"type":73,"value":4},{"type":67,"tag":188,"props":1931,"children":1932},{"style":200},[1933],{"type":73,"value":1934}," find",{"type":67,"tag":188,"props":1936,"children":1937},{"style":200},[1938],{"type":73,"value":855},{"type":67,"tag":188,"props":1940,"children":1941},{"style":388},[1942],{"type":73,"value":587},{"type":67,"tag":188,"props":1944,"children":1945},{"style":200},[1946],{"type":73,"value":1947},"Sign In",{"type":67,"tag":188,"props":1949,"children":1950},{"style":388},[1951],{"type":73,"value":597},{"type":67,"tag":188,"props":1953,"children":1954},{"style":200},[1955],{"type":73,"value":1956}," click\n",{"type":67,"tag":188,"props":1958,"children":1959},{"class":190,"line":211},[1960,1964,1968,1973,1977,1982,1986,1990,1994,1999],{"type":67,"tag":188,"props":1961,"children":1962},{"style":195},[1963],{"type":73,"value":4},{"type":67,"tag":188,"props":1965,"children":1966},{"style":200},[1967],{"type":73,"value":1934},{"type":67,"tag":188,"props":1969,"children":1970},{"style":200},[1971],{"type":73,"value":1972}," label",{"type":67,"tag":188,"props":1974,"children":1975},{"style":388},[1976],{"type":73,"value":587},{"type":67,"tag":188,"props":1978,"children":1979},{"style":200},[1980],{"type":73,"value":1981},"Email",{"type":67,"tag":188,"props":1983,"children":1984},{"style":388},[1985],{"type":73,"value":597},{"type":67,"tag":188,"props":1987,"children":1988},{"style":200},[1989],{"type":73,"value":655},{"type":67,"tag":188,"props":1991,"children":1992},{"style":388},[1993],{"type":73,"value":587},{"type":67,"tag":188,"props":1995,"children":1996},{"style":200},[1997],{"type":73,"value":1998},"user@test.com",{"type":67,"tag":188,"props":2000,"children":2001},{"style":388},[2002],{"type":73,"value":1279},{"type":67,"tag":188,"props":2004,"children":2005},{"class":190,"line":36},[2006,2010,2014,2019,2024,2028,2033,2037,2042],{"type":67,"tag":188,"props":2007,"children":2008},{"style":195},[2009],{"type":73,"value":4},{"type":67,"tag":188,"props":2011,"children":2012},{"style":200},[2013],{"type":73,"value":1934},{"type":67,"tag":188,"props":2015,"children":2016},{"style":200},[2017],{"type":73,"value":2018}," role",{"type":67,"tag":188,"props":2020,"children":2021},{"style":200},[2022],{"type":73,"value":2023}," button",{"type":67,"tag":188,"props":2025,"children":2026},{"style":200},[2027],{"type":73,"value":632},{"type":67,"tag":188,"props":2029,"children":2030},{"style":200},[2031],{"type":73,"value":2032}," --name",{"type":67,"tag":188,"props":2034,"children":2035},{"style":388},[2036],{"type":73,"value":587},{"type":67,"tag":188,"props":2038,"children":2039},{"style":200},[2040],{"type":73,"value":2041},"Submit",{"type":67,"tag":188,"props":2043,"children":2044},{"style":388},[2045],{"type":73,"value":1279},{"type":67,"tag":90,"props":2047,"children":2049},{"id":2048},"javascript-evaluation",[2050],{"type":73,"value":2051},"JavaScript Evaluation",{"type":67,"tag":177,"props":2053,"children":2055},{"className":179,"code":2054,"language":181,"meta":182,"style":182},"# Simple expressions\nagent-browser eval 'document.title'\n\n# Complex JS: use --stdin with heredoc\nagent-browser eval --stdin \u003C\u003C'EVALEOF'\nJSON.stringify(\n  Array.from(document.querySelectorAll(\"img\"))\n    .filter(i => !i.alt)\n    .map(i => ({ src: i.src.split(\"\u002F\").pop(), width: i.width }))\n)\nEVALEOF\n",[2056],{"type":67,"tag":82,"props":2057,"children":2058},{"__ignoreMap":182},[2059,2067,2094,2101,2109,2135,2143,2151,2159,2167,2175],{"type":67,"tag":188,"props":2060,"children":2061},{"class":190,"line":191},[2062],{"type":67,"tag":188,"props":2063,"children":2064},{"style":272},[2065],{"type":73,"value":2066},"# Simple expressions\n",{"type":67,"tag":188,"props":2068,"children":2069},{"class":190,"line":211},[2070,2074,2079,2084,2089],{"type":67,"tag":188,"props":2071,"children":2072},{"style":195},[2073],{"type":73,"value":4},{"type":67,"tag":188,"props":2075,"children":2076},{"style":200},[2077],{"type":73,"value":2078}," eval",{"type":67,"tag":188,"props":2080,"children":2081},{"style":388},[2082],{"type":73,"value":2083}," '",{"type":67,"tag":188,"props":2085,"children":2086},{"style":200},[2087],{"type":73,"value":2088},"document.title",{"type":67,"tag":188,"props":2090,"children":2091},{"style":388},[2092],{"type":73,"value":2093},"'\n",{"type":67,"tag":188,"props":2095,"children":2096},{"class":190,"line":36},[2097],{"type":67,"tag":188,"props":2098,"children":2099},{"emptyLinePlaceholder":506},[2100],{"type":73,"value":509},{"type":67,"tag":188,"props":2102,"children":2103},{"class":190,"line":312},[2104],{"type":67,"tag":188,"props":2105,"children":2106},{"style":272},[2107],{"type":73,"value":2108},"# Complex JS: use --stdin with heredoc\n",{"type":67,"tag":188,"props":2110,"children":2111},{"class":190,"line":330},[2112,2116,2120,2125,2130],{"type":67,"tag":188,"props":2113,"children":2114},{"style":195},[2115],{"type":73,"value":4},{"type":67,"tag":188,"props":2117,"children":2118},{"style":200},[2119],{"type":73,"value":2078},{"type":67,"tag":188,"props":2121,"children":2122},{"style":200},[2123],{"type":73,"value":2124}," --stdin",{"type":67,"tag":188,"props":2126,"children":2127},{"style":388},[2128],{"type":73,"value":2129}," \u003C\u003C",{"type":67,"tag":188,"props":2131,"children":2132},{"style":388},[2133],{"type":73,"value":2134},"'EVALEOF'\n",{"type":67,"tag":188,"props":2136,"children":2137},{"class":190,"line":520},[2138],{"type":67,"tag":188,"props":2139,"children":2140},{"style":200},[2141],{"type":73,"value":2142},"JSON.stringify(\n",{"type":67,"tag":188,"props":2144,"children":2145},{"class":190,"line":542},[2146],{"type":67,"tag":188,"props":2147,"children":2148},{"style":200},[2149],{"type":73,"value":2150},"  Array.from(document.querySelectorAll(\"img\"))\n",{"type":67,"tag":188,"props":2152,"children":2153},{"class":190,"line":568},[2154],{"type":67,"tag":188,"props":2155,"children":2156},{"style":200},[2157],{"type":73,"value":2158},"    .filter(i => !i.alt)\n",{"type":67,"tag":188,"props":2160,"children":2161},{"class":190,"line":605},[2162],{"type":67,"tag":188,"props":2163,"children":2164},{"style":200},[2165],{"type":73,"value":2166},"    .map(i => ({ src: i.src.split(\"\u002F\").pop(), width: i.width }))\n",{"type":67,"tag":188,"props":2168,"children":2169},{"class":190,"line":613},[2170],{"type":67,"tag":188,"props":2171,"children":2172},{"style":200},[2173],{"type":73,"value":2174},")\n",{"type":67,"tag":188,"props":2176,"children":2177},{"class":190,"line":622},[2178],{"type":67,"tag":188,"props":2179,"children":2180},{"style":388},[2181],{"type":73,"value":2182},"EVALEOF\n",{"type":67,"tag":90,"props":2184,"children":2186},{"id":2185},"session-management",[2187],{"type":73,"value":2188},"Session Management",{"type":67,"tag":177,"props":2190,"children":2192},{"className":179,"code":2191,"language":181,"meta":182,"style":182},"agent-browser --session site1 open http:\u002F\u002Flocalhost:3000\nagent-browser --session site2 open http:\u002F\u002Flocalhost:3001\nagent-browser session list\nagent-browser close  # Always close when done\n",[2193],{"type":67,"tag":82,"props":2194,"children":2195},{"__ignoreMap":182},[2196,2221,2246,2263],{"type":67,"tag":188,"props":2197,"children":2198},{"class":190,"line":191},[2199,2203,2208,2213,2217],{"type":67,"tag":188,"props":2200,"children":2201},{"style":195},[2202],{"type":73,"value":4},{"type":67,"tag":188,"props":2204,"children":2205},{"style":200},[2206],{"type":73,"value":2207}," --session",{"type":67,"tag":188,"props":2209,"children":2210},{"style":200},[2211],{"type":73,"value":2212}," site1",{"type":67,"tag":188,"props":2214,"children":2215},{"style":200},[2216],{"type":73,"value":203},{"type":67,"tag":188,"props":2218,"children":2219},{"style":200},[2220],{"type":73,"value":208},{"type":67,"tag":188,"props":2222,"children":2223},{"class":190,"line":211},[2224,2228,2232,2237,2241],{"type":67,"tag":188,"props":2225,"children":2226},{"style":195},[2227],{"type":73,"value":4},{"type":67,"tag":188,"props":2229,"children":2230},{"style":200},[2231],{"type":73,"value":2207},{"type":67,"tag":188,"props":2233,"children":2234},{"style":200},[2235],{"type":73,"value":2236}," site2",{"type":67,"tag":188,"props":2238,"children":2239},{"style":200},[2240],{"type":73,"value":203},{"type":67,"tag":188,"props":2242,"children":2243},{"style":200},[2244],{"type":73,"value":2245}," http:\u002F\u002Flocalhost:3001\n",{"type":67,"tag":188,"props":2247,"children":2248},{"class":190,"line":36},[2249,2253,2258],{"type":67,"tag":188,"props":2250,"children":2251},{"style":195},[2252],{"type":73,"value":4},{"type":67,"tag":188,"props":2254,"children":2255},{"style":200},[2256],{"type":73,"value":2257}," session",{"type":67,"tag":188,"props":2259,"children":2260},{"style":200},[2261],{"type":73,"value":2262}," list\n",{"type":67,"tag":188,"props":2264,"children":2265},{"class":190,"line":312},[2266,2270,2274],{"type":67,"tag":188,"props":2267,"children":2268},{"style":195},[2269],{"type":73,"value":4},{"type":67,"tag":188,"props":2271,"children":2272},{"style":200},[2273],{"type":73,"value":495},{"type":67,"tag":188,"props":2275,"children":2276},{"style":272},[2277],{"type":73,"value":2278},"  # Always close when done\n",{"type":67,"tag":90,"props":2280,"children":2282},{"id":2281},"timeouts-and-slow-pages",[2283],{"type":73,"value":2284},"Timeouts and Slow Pages",{"type":67,"tag":177,"props":2286,"children":2288},{"className":179,"code":2287,"language":181,"meta":182,"style":182},"agent-browser wait --load networkidle  # Best for slow pages\nagent-browser wait \"#content\"          # Wait for specific element\nagent-browser wait --url \"**\u002Fdashboard\"  # Wait for URL pattern\nagent-browser wait 5000                # Fixed wait (last resort)\n",[2289],{"type":67,"tag":82,"props":2290,"children":2291},{"__ignoreMap":182},[2292,2316,2345,2377],{"type":67,"tag":188,"props":2293,"children":2294},{"class":190,"line":191},[2295,2299,2303,2307,2311],{"type":67,"tag":188,"props":2296,"children":2297},{"style":195},[2298],{"type":73,"value":4},{"type":67,"tag":188,"props":2300,"children":2301},{"style":200},[2302],{"type":73,"value":221},{"type":67,"tag":188,"props":2304,"children":2305},{"style":200},[2306],{"type":73,"value":226},{"type":67,"tag":188,"props":2308,"children":2309},{"style":200},[2310],{"type":73,"value":409},{"type":67,"tag":188,"props":2312,"children":2313},{"style":272},[2314],{"type":73,"value":2315},"  # Best for slow pages\n",{"type":67,"tag":188,"props":2317,"children":2318},{"class":190,"line":211},[2319,2323,2327,2331,2336,2340],{"type":67,"tag":188,"props":2320,"children":2321},{"style":195},[2322],{"type":73,"value":4},{"type":67,"tag":188,"props":2324,"children":2325},{"style":200},[2326],{"type":73,"value":221},{"type":67,"tag":188,"props":2328,"children":2329},{"style":388},[2330],{"type":73,"value":587},{"type":67,"tag":188,"props":2332,"children":2333},{"style":200},[2334],{"type":73,"value":2335},"#content",{"type":67,"tag":188,"props":2337,"children":2338},{"style":388},[2339],{"type":73,"value":597},{"type":67,"tag":188,"props":2341,"children":2342},{"style":272},[2343],{"type":73,"value":2344},"          # Wait for specific element\n",{"type":67,"tag":188,"props":2346,"children":2347},{"class":190,"line":36},[2348,2352,2356,2360,2364,2368,2372],{"type":67,"tag":188,"props":2349,"children":2350},{"style":195},[2351],{"type":73,"value":4},{"type":67,"tag":188,"props":2353,"children":2354},{"style":200},[2355],{"type":73,"value":221},{"type":67,"tag":188,"props":2357,"children":2358},{"style":200},[2359],{"type":73,"value":988},{"type":67,"tag":188,"props":2361,"children":2362},{"style":388},[2363],{"type":73,"value":587},{"type":67,"tag":188,"props":2365,"children":2366},{"style":200},[2367],{"type":73,"value":1490},{"type":67,"tag":188,"props":2369,"children":2370},{"style":388},[2371],{"type":73,"value":597},{"type":67,"tag":188,"props":2373,"children":2374},{"style":272},[2375],{"type":73,"value":2376},"  # Wait for URL pattern\n",{"type":67,"tag":188,"props":2378,"children":2379},{"class":190,"line":312},[2380,2384,2388,2393],{"type":67,"tag":188,"props":2381,"children":2382},{"style":195},[2383],{"type":73,"value":4},{"type":67,"tag":188,"props":2385,"children":2386},{"style":200},[2387],{"type":73,"value":221},{"type":67,"tag":188,"props":2389,"children":2390},{"style":812},[2391],{"type":73,"value":2392}," 5000",{"type":67,"tag":188,"props":2394,"children":2395},{"style":272},[2396],{"type":73,"value":2397},"                # Fixed wait (last resort)\n",{"type":67,"tag":2399,"props":2400,"children":2401},"style",{},[2402],{"type":73,"value":2403},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2405,"total":2517},[2406,2425,2431,2443,2463,2485,2505],{"slug":2407,"name":2407,"fn":2408,"description":2409,"org":2410,"tags":2411,"stars":22,"repoUrl":23,"updatedAt":2424},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2412,2415,2418,2421],{"name":2413,"slug":2414,"type":15},"Accessibility","accessibility",{"name":2416,"slug":2417,"type":15},"Charts","charts",{"name":2419,"slug":2420,"type":15},"Data Visualization","data-visualization",{"name":2422,"slug":2423,"type":15},"Design","design","2026-06-30T19:00:57.102",{"slug":4,"name":4,"fn":5,"description":6,"org":2426,"tags":2427,"stars":22,"repoUrl":23,"updatedAt":24},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2428,2429,2430],{"name":13,"slug":14,"type":15},{"name":20,"slug":21,"type":15},{"name":17,"slug":18,"type":15},{"slug":2432,"name":2432,"fn":2433,"description":2434,"org":2435,"tags":2436,"stars":22,"repoUrl":23,"updatedAt":2442},"agent-browser-verify","verify dev server output with automated browser","Automated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass\u002Ffail before continuing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2437,2438,2441],{"name":20,"slug":21,"type":15},{"name":2439,"slug":2440,"type":15},"Local Development","local-development",{"name":17,"slug":18,"type":15},"2026-04-06T18:41:17.526867",{"slug":2444,"name":2444,"fn":2445,"description":2446,"org":2447,"tags":2448,"stars":22,"repoUrl":23,"updatedAt":2462},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2449,2450,2453,2456,2459],{"name":13,"slug":14,"type":15},{"name":2451,"slug":2452,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":2454,"slug":2455,"type":15},"SDK","sdk",{"name":2457,"slug":2458,"type":15},"Serverless","serverless",{"name":2460,"slug":2461,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":2464,"name":2464,"fn":2465,"description":2466,"org":2467,"tags":2468,"stars":22,"repoUrl":23,"updatedAt":2484},"ai-elements","build chat UIs with AI Elements","AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn\u002Fui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2469,2472,2475,2478,2481],{"name":2470,"slug":2471,"type":15},"Frontend","frontend",{"name":2473,"slug":2474,"type":15},"React","react",{"name":2476,"slug":2477,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":2479,"slug":2480,"type":15},"UI Components","ui-components",{"name":2482,"slug":2483,"type":15},"Vercel","vercel","2026-04-06T18:40:59.619419",{"slug":2486,"name":2486,"fn":2487,"description":2488,"org":2489,"tags":2490,"stars":22,"repoUrl":23,"updatedAt":2504},"ai-gateway","configure Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2491,2494,2497,2500,2503],{"name":2492,"slug":2493,"type":15},"AI Infrastructure","ai-infrastructure",{"name":2495,"slug":2496,"type":15},"Cost Optimization","cost-optimization",{"name":2498,"slug":2499,"type":15},"LLM","llm",{"name":2501,"slug":2502,"type":15},"Performance","performance",{"name":2482,"slug":2483,"type":15},"2026-04-06T18:40:44.377464",{"slug":2506,"name":2506,"fn":2507,"description":2508,"org":2509,"tags":2510,"stars":22,"repoUrl":23,"updatedAt":2516},"ai-generation-persistence","implement persistence patterns for AI generations","AI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2511,2512,2515],{"name":2495,"slug":2496,"type":15},{"name":2513,"slug":2514,"type":15},"Database","database",{"name":2498,"slug":2499,"type":15},"2026-04-06T18:41:08.513425",600,{"items":2519,"total":2716},[2520,2541,2564,2581,2597,2614,2633,2645,2659,2673,2685,2700],{"slug":2521,"name":2521,"fn":2522,"description":2523,"org":2524,"tags":2525,"stars":2538,"repoUrl":2539,"updatedAt":2540},"prior-auth-packet-builder","build healthcare prior authorization packets","Build a concise prior authorization packet from local case files and payer policy docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2526,2529,2532,2535],{"name":2527,"slug":2528,"type":15},"Documents","documents",{"name":2530,"slug":2531,"type":15},"Healthcare","healthcare",{"name":2533,"slug":2534,"type":15},"Insurance","insurance",{"name":2536,"slug":2537,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":2542,"name":2542,"fn":2543,"description":2544,"org":2545,"tags":2546,"stars":2561,"repoUrl":2562,"updatedAt":2563},"aspnet-core","build ASP.NET Core web applications","Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2547,2550,2552,2555,2558],{"name":2548,"slug":2549,"type":15},".NET","dotnet",{"name":2551,"slug":2542,"type":15},"ASP.NET Core",{"name":2553,"slug":2554,"type":15},"Blazor","blazor",{"name":2556,"slug":2557,"type":15},"C#","csharp",{"name":2559,"slug":2560,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":2565,"name":2565,"fn":2566,"description":2567,"org":2568,"tags":2569,"stars":2561,"repoUrl":2562,"updatedAt":2580},"chatgpt-apps","build ChatGPT Apps SDK applications","Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2570,2573,2576,2579],{"name":2571,"slug":2572,"type":15},"Apps SDK","apps-sdk",{"name":2574,"slug":2575,"type":15},"ChatGPT","chatgpt",{"name":2577,"slug":2578,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":2582,"name":2582,"fn":2583,"description":2584,"org":2585,"tags":2586,"stars":2561,"repoUrl":2562,"updatedAt":2596},"cli-creator","build CLIs from API docs","Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read\u002Fwrite commands, return stable JSON, manage auth, and pair with a companion skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2587,2590,2593],{"name":2588,"slug":2589,"type":15},"API Development","api-development",{"name":2591,"slug":2592,"type":15},"CLI","cli",{"name":2594,"slug":2595,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":2598,"name":2598,"fn":2599,"description":2600,"org":2601,"tags":2602,"stars":2561,"repoUrl":2562,"updatedAt":2613},"cloudflare-deploy","deploy projects to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2603,2606,2609,2610],{"name":2604,"slug":2605,"type":15},"Cloudflare","cloudflare",{"name":2607,"slug":2608,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":2451,"slug":2452,"type":15},{"name":2611,"slug":2612,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":2615,"name":2615,"fn":2616,"description":2617,"org":2618,"tags":2619,"stars":2561,"repoUrl":2562,"updatedAt":2632},"define-goal","define and set measurable project goals","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2620,2623,2626,2629],{"name":2621,"slug":2622,"type":15},"Productivity","productivity",{"name":2624,"slug":2625,"type":15},"Project Management","project-management",{"name":2627,"slug":2628,"type":15},"Strategy","strategy",{"name":2630,"slug":2631,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":2634,"name":2634,"fn":2635,"description":2636,"org":2637,"tags":2638,"stars":2561,"repoUrl":2562,"updatedAt":2644},"figma","translate Figma designs into code","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2639,2640,2642,2643],{"name":2422,"slug":2423,"type":15},{"name":2641,"slug":2634,"type":15},"Figma",{"name":2470,"slug":2471,"type":15},{"name":2577,"slug":2578,"type":15},"2026-04-12T05:06:47.939943",{"slug":2646,"name":2646,"fn":2647,"description":2648,"org":2649,"tags":2650,"stars":2561,"repoUrl":2562,"updatedAt":2658},"figma-code-connect-components","connect Figma designs to code components","Connects Figma design components to code components using Code Connect mapping tools. Use when user says \"code connect\", \"connect this component to code\", \"map this component\", \"link component to code\", \"create code connect mapping\", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2651,2652,2655,2656,2657],{"name":2422,"slug":2423,"type":15},{"name":2653,"slug":2654,"type":15},"Design System","design-system",{"name":2641,"slug":2634,"type":15},{"name":2470,"slug":2471,"type":15},{"name":2479,"slug":2480,"type":15},"2026-05-10T05:59:52.971881",{"slug":2660,"name":2660,"fn":2661,"description":2662,"org":2663,"tags":2664,"stars":2561,"repoUrl":2562,"updatedAt":2672},"figma-create-design-system-rules","generate design system rules from Figma","Generates custom design system rules for the user's codebase. Use when user says \"create design system rules\", \"generate rules for my project\", \"set up design rules\", \"customize design system guidelines\", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2665,2666,2667,2670,2671],{"name":2422,"slug":2423,"type":15},{"name":2653,"slug":2654,"type":15},{"name":2668,"slug":2669,"type":15},"Documentation","documentation",{"name":2641,"slug":2634,"type":15},{"name":2470,"slug":2471,"type":15},"2026-05-16T06:07:47.821474",{"slug":2674,"name":2674,"fn":2675,"description":2676,"org":2677,"tags":2678,"stars":2561,"repoUrl":2562,"updatedAt":2684},"figma-implement-design","translate Figma designs into application code","Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions \"implement design\", \"generate code\", \"implement component\", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2679,2680,2681,2682,2683],{"name":2422,"slug":2423,"type":15},{"name":2641,"slug":2634,"type":15},{"name":2470,"slug":2471,"type":15},{"name":2479,"slug":2480,"type":15},{"name":2559,"slug":2560,"type":15},"2026-05-16T06:07:40.583615",{"slug":2686,"name":2686,"fn":2687,"description":2688,"org":2689,"tags":2690,"stars":2561,"repoUrl":2562,"updatedAt":2699},"hatch-pet","create animated pets for Codex","Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2691,2694,2695,2698],{"name":2692,"slug":2693,"type":15},"Animation","animation",{"name":2594,"slug":2595,"type":15},{"name":2696,"slug":2697,"type":15},"Creative","creative",{"name":2422,"slug":2423,"type":15},"2026-05-02T05:31:48.48485",{"slug":2701,"name":2701,"fn":2702,"description":2703,"org":2704,"tags":2705,"stars":2561,"repoUrl":2562,"updatedAt":2715},"imagegen","generate and edit raster images","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2706,2707,2708,2711,2714],{"name":2696,"slug":2697,"type":15},{"name":2422,"slug":2423,"type":15},{"name":2709,"slug":2710,"type":15},"Image Generation","image-generation",{"name":2712,"slug":2713,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675]