Notte automatically solves CAPTCHAs when the solve_captchas parameter is set to true for session creation.

solve_captchas.py
from notte_sdk import NotteClient

notte = NotteClient()
with notte.Session(
    solve_captchas=True,
    browser_type="firefox",
    headless=False,
) as session:
    # Navigate to a page with a CAPTCHA
    agent = notte.Agent(session=session, max_steps=5)
    resp = agent.run(
        task=(
            "Try to solve the CAPTCHA using internal tools. "
            "If you fail, try to solve it manually."
        ),
        url="https://www.google.com/recaptcha/api2/demo"
    )

This feature is currently in beta. Send a message to hello@notte.cc if you encounter any issues.