AI agent instructions
AI agent instructions
Quick Start
Create a session with default settings:Configuration Options
Customize your session with these options:Common Parameters
boolean
default:true
Whether to run the browser in headless mode. Set to
false to open a live viewer in your browser.boolean
default:false
Automatically detect and solve captchas (reCAPTCHA, hCaptcha, etc.)
boolean | list[ProxySettings]
default:false
Enable residential proxies. Set to
true for default proxies or provide custom proxy configuration.
See Proxy Configuration for details.integer
default:3
Session timeout in minutes. Sessions automatically close after this duration (min: 1, max: 30).
integer
default:1280
Browser viewport width in pixels.
integer
default:1080
Browser viewport height in pixels.
string
default:"chrome"
Browser engine to use:
"chromium", or "chrome".Advanced Parameters
string
Custom user agent string for the browser session.
list[str]
Custom Chrome/Chromium launch arguments. Advanced use only.
string
Connect to an external browser session via Chrome DevTools Protocol URL (e.g., from Kernel.sh or other providers).
boolean
default:false
Enable file storage for uploading/downloading files during the session.
string | Path
Path to a JSON file for automatic cookie loading at session start and saving at session end.
RemoteFileStorage
Attach a file storage instance to the session for file operations.
string
default:"fast"
Default perception type for observations:
"fast" (simple) or "deep" (LLM-powered).boolean
default:false
Raise exceptions when action execution fails instead of returning error results.
Session Response
When you start a session, you get access to these properties and methods:session_response.py
Headless Mode
Control whether to run the browser visibly or in the background:Proxies
Route sessions through residential proxies for geo-targeting and enhanced stealth:proxies_simple.py
See the Proxies Guide for country-specific proxies, custom proxies, and troubleshooting.
Captcha Solving
Automatically detect and solve captchas during automation:See the Captcha Solving guide for more details.
Session Timeout
Configure how long sessions stay active:Custom Viewport Size
Set custom screen dimensions for specific testing scenarios:Cookie Management
Automatically load and save cookies across sessions using thecookie_file parameter:
cookie_file.py
See the Cookies Guide for manual cookie management and best practices.
External Providers (CDP)
Use Notte with external browser providers like Kernel.sh:See the Kernel.sh Integration guide for complete setup instructions.
Next Steps
Recordings
Watch recorded sessions and debug issues
Proxies
Configure proxies and anti-detection features
Live View
Watch sessions in real-time
Cookies
Persist authentication across sessions

