Skip to main content
Read the Notte skill and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
Source: node-sdk/src/client.ts Options of client.scrape(): the global scrape request minus url, plus the SDK-only scrape options.

Fields

boolean | undefined
Save session replay. False permanently disables saved replay; Live View remains available.
boolean | undefined
Save browser session logs. False permanently disables saved logs, without disabling metering.
number | undefined
Idle timeout in minutes. Session closes after this period of inactivity (resets on each operation).
number | undefined
Maximum session lifetime in minutes (absolute maximum, not affected by activity).
boolean | (NotteProxy | ExternalProxy | TailnetProxy | SecretProxy)[] | undefined
List of custom proxies to use for the session. If True, the default proxies will be used.
"chromium" | "chrome" | "chrome-nightly" | "chrome-turbo" | undefined
The browser type to use. Supported values are chromium and chrome. chrome-nightly and chrome-turbo are legacy aliases for chrome.
string | null | undefined
The user agent to use for the session
number | null | undefined
Viewport width in pixels (minimum 500). Set together with viewport_height.
number | null | undefined
Viewport height in pixels (minimum 500). Set together with viewport_width.
boolean | undefined
Whether to try to automatically solve captchas
string | null | undefined
The CDP URL of another remote session provider.
boolean | undefined
Whether to use web bot authentication.
string[] | undefined
Managed Auth connection IDs to verify and, when necessary, authenticate inside this session before it is returned.
string | null | undefined
The vault to use for the session
number | undefined
string | null | undefined
Additional instructions to use for the scrape. E.g. ‘Extract only the title, date and content of the articles.’
boolean | undefined
Whether to only scrape the main content of the page. If True, navbars, footers, etc. are excluded.
string | null | undefined
Playwright selector to scope the scrape to. Only content inside this selector will be scraped.
Whether to scrape links from the page. Links are scraped by default.
boolean | undefined
Image scraping was removed; true returns 422.deprecated:
string[] | null | undefined
HTML tags to ignore from the page
string | null | undefined
Model used for structured extraction. Canonical OpenRouter ids: google/gemini-3.5-flash, google/gemini-3.5-flash-lite, google/gemini-3.1-flash-lite, google/gemini-3.1-flash-lite-preview, google/gemini-2.5-flash, openai/gpt-4.1-mini, openai/gpt-4o, google/gemma-3-27b-it, openai/gpt-oss-120b, perplexity/sonar-pro, deepseek/deepseek-r1, meta-llama/llama-3.3-70b-instruct, anthropic/claude-sonnet-4-5, anthropic/claude-haiku-4-5, moonshotai/kimi-k2.5, x-ai/grok-4.3, minimax/minimax-m2.5. Reviewed legacy LiteLLM ids remain accepted. Defaults to google/gemini-3.5-flash.
Whether to use link/image placeholders to reduce the number of tokens in the prompt and hallucinations. However this is an experimental feature and might not work as expected.
string[] | null | undefined
Overwrite the chrome instance arguments
"5:4" | "16:9" | null | undefined
Viewport shape preset. When set, the backend fits the largest rectangle of this aspect ratio inside the sampled available screen area. Cannot be combined with explicit viewport_width/viewport_height.
SessionProfile | null | undefined
Browser profile configuration for state persistence
{ [key: string]: string; } | null | undefined
Extra HTTP headers to be sent with every request.
boolean | undefined
Block ads and trackers in managed browsers using Basic filtering. Set false to disable. Does not configure externally supplied CDP browsers.
"auto" | "client" | undefined
Who answers JavaScript dialogs (alert, confirm, prompt, beforeunload). auto (default): Notte answers them, dismissing alert, confirm and prompt and accepting beforeunload. client: Notte leaves them for your CDP client to accept or dismiss, and dismisses one nobody answers within 10 seconds.
boolean | undefined
Enable Notte’s highest-fidelity browser environment for sites with sophisticated bot detection. Available to approved workspaces.
"windows" | "macos" | null | undefined
The operating system the session’s browser presents: windows or macos. When unset, each session gets one at random among those the environment offers.
"raw" | "full" | "last_action" | undefined
Ignored since notte 1.10: screenshots are returned without highlighting.deprecated:
Record<string, unknown> | ZodLikeSchema<T> | null | undefined
A Zod schema or a JSON Schema object describing the data to extract.
Record<string, unknown> | undefined
JSON Schema to send instead of converting response_format. Only used with a Zod schema.
boolean | undefined
When true (default) a failed structured extraction throws ScrapeFailedError and the extracted data is returned directly. When false the StructuredData wrapper is returned so callers can inspect .success.
boolean | undefined
Whether to wait for Managed Auth before the scrape request completes. Defaults to true. Authentication failure or timeout can fail the scrape request.