Skip to main content
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.
Browser Use is an open source library that lets an LLM drive a browser. It talks to whatever browser you hand it over the Chrome DevTools Protocol, so pointing it at a Notte session is a one-line change: pass session.cdp_url() as the profile’s cdp_url.

Prerequisites

  • A Notte API key (get one here)
  • An LLM API key for the model Browser Use should drive

1. Install the SDKs

2. Point Browser Use at a Notte session

notte_browser_use.py
Set the following environment variables in your .env file:
The agent now runs on a Notte cloud browser instead of a local Chrome, so you inherit stealth mode, captcha solving, residential proxies, and session replay without changing your agent code.
Browser Use owns the page once it connects. Use session.cdp_url() for the handoff and let Browser Use drive from there, rather than mixing Notte page controls into the same run.

Next steps

Session Configuration

Customize browser settings, proxies, and more

Stealth Mode

Configure anti-detection for your automations

Connect with Playwright

Drive a Notte session with Playwright

Live View

Watch your automations in real time