| name | test-browsy-flow |
| description | Test a URL with the browsy CLI and report page detection accuracy |
Test Browsy Flow
Test browsy's page detection and interaction capabilities against a specific URL. Useful for validating that browsy correctly parses a site before deploying agents against it.
Usage
/test-browsy-flow https://example.com/login
What it does
Runs the browsy CLI against a target URL and reports on detection quality:
- Page parsing — fetches the URL and converts it to browsy's Spatial DOM, reporting element counts and types
- Page classification — checks whether browsy correctly identifies the page type (Login, Search, Content, Form, Consent, Verification, Error)
- Suggested actions — validates that browsy suggests the right actions (e.g., Login for a sign-in page, Search for a search engine)
- Element inventory — counts interactive elements (links, buttons, inputs, selects, checkboxes) and checks for missing or misidentified elements
- Hidden content — verifies that dropdown menus, modals, accordion panels, and tab content are exposed with
hidden: true
- Interaction testing — optionally tests clicking, typing, and form submission to verify browsy handles the page's interaction patterns
Workflow
- Run
browsy browse <url> to fetch and parse the page
- Run
browsy page-info to get detection results
- Analyze the Spatial DOM output:
- Count elements by type (links, buttons, inputs, text)
- Check for landmark markers (nav, header, footer, main, form)
- Verify hidden elements are exposed
- Optionally test interactions: