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.
Notte can automatically detect and solve captchas including reCAPTCHA v2, reCAPTCHA v3, and hCaptcha during your browser automation.
from notte_sdk import NotteClientclient = NotteClient()with client.Session( solve_captchas=True, headless=False # Watch it solve captchas) as session: page = session.page # Navigate to a site with captcha page.goto("https://example.com/login") # Fill login form page.fill('input[name="email"]', "user@example.com") page.fill('input[name="password"]', "password") # Click submit - captcha will be solved automatically page.click('button[type="submit"]') # Wait for successful login page.wait_for_url("**/dashboard") print("Logged in successfully!")
Combine captcha solving with proxies for better success rates:
from notte_sdk import NotteClientclient = NotteClient()with client.Session( solve_captchas=True, proxies=True # Use residential proxies) as session: page = session.page page.goto("https://example.com") # Both captcha solving and proxies active
Add human-like delays before and after captcha-protected actions:
realistic_delays.py
import timefrom notte_sdk import NotteClientclient = NotteClient()with client.Session(solve_captchas=True) as session: page = session.page # Navigate to page page.goto("https://example.com/protected") # Wait for page to load time.sleep(2) # Fill form page.fill('input[name="email"]', "user@example.com") time.sleep(1) # Submit (captcha will be solved) page.click('button[type="submit"]')
from notte_sdk import NotteClientclient = NotteClient()with client.Session( solve_captchas=True, headless=False, # Opens live viewer) as session: # You can watch captchas being solved pass
from notte_sdk import NotteClientclient = NotteClient()# Ensure all requirements are metwith client.Session( solve_captchas=True, # Must be enabled proxies=True, # Helps with detection) as session: pass