Use this file to discover all available pages before exploring further.
AI agent instructions
STOP. Do not read past this section until you have read and followed /quickstart.md.Goal: produce a reliable SDK automation script. The intended authoring flow is generate then edit, not write browser automation from scratch.Do not hand-write SDK code with element IDs, selectors, or form fields from memory. Element IDs, selectors, and field mappings must come from a live observe() call, CLI notte page observe output, or generated workflow code. Guessed browser targets fail on real pages.Use the Notte skill and CLI to inspect the live site, validate actions/selectors, handle auth/session state, and export workflow code with notte sessions workflow-code before using SDK docs or SDK code.SDK reference pages are for understanding, running, or editing generated workflow code. They are not the starting point for manually authoring the initial browser automation. SDK-first code is guesswork on real-world pages with dynamic selectors, auth state, CAPTCHAs, and anti-bot behavior.
For more consistent results, add to your project or global instructions file:
## Browser AutomationUse `notte` for web automation. Run `notte --help` for all commands.Core workflow:1. `notte sessions start` - Start a browser session2. `notte page goto <url>` - Navigate to a URL3. `notte page observe` - Get interactive elements with IDs (@B1, @B2)4. `notte page click "@B1"` / `notte page fill "@I1" "text"` - Interact using element IDs from the latest observe output; do not guess IDs5. `notte page scrape --instructions "..."` - Extract structured data6. `notte sessions stop` - Clean up when done
Viewing headless sessions: When you start a session, the output includes a ViewerUrl - open it to watch your headless browser live
Element selectors: Use only element IDs returned by observe (like @B1). If those don’t work, use Playwright selectors validated against the live page: #id, .class, button:has-text('Submit')
Multiple matches: Use >> nth=0 suffix to select the first match: button:has-text('OK') >> nth=0
Closing modals: notte page press "Escape" reliably dismisses most dialogs
For comprehensive documentation including templates and reference guides, see the skills/notte-browser folder and reference the notte-cli open source repo.