Skip to main content
This page documents the parameters that can be used to configure Hyperbrowser sessions. These parameters are shared across New Session, Scrape, Crawl, Extract, and Agent Tasks. You can view the Sessions API Reference at Sessions API Reference for full REST details.
Proxy usage and CAPTCHA solving require a paid plan.
When using the Python SDK, all session parameters are in snake_case (e.g., use_proxy), whereas in JavaScript/TypeScript they use camelCase (e.g., useProxy). Example:

Session Parameters

boolean
default:false
When true, launches the session with advanced stealth techniques to reduce bot detection. This is only available on enterprise plans. Please contact us at info@hyperbrowser.ai to get access.
boolean
default:false
When true, launches the session with standard stealth techniques to reduce bot detection.
boolean
default:false
When true, the session will be launched with a proxy.
string
Custom proxy server host (used only when useProxy is true). Enterprise plan only. Contact info@hyperbrowser.ai to get access.
string
Username for authenticating with the custom proxy server. Enterprise plan only.
string
Password for authenticating with the custom proxy server. Enterprise plan only.
string
default:"US"
Country for proxy location (ISO 3166-1 alpha-2 code, e.g., "US", "GB", "CA"). Check here for the full list of supported countries.
string
Optional state code for proxies to US states. Is mutually exclusive with proxyCity. Takes in two letter state code. Check here for the full list of supported states.
string
Desired City. Is mutually exclusive with proxyState. Some cities might not be supported, so before using a new city, we recommend trying it out.
string
Region to run the browser session in. Check here for the full list of supported regions.
object
Screen resolution to emulate. Properties:
  • width (number, default 1280)
  • height (number, default 720)
boolean
default:false
When true, the session will attempt to automatically solve CAPTCHAs.
"visual"
Optional CAPTCHA solver mode. Set to "visual" to use the visual reCAPTCHA solver when automatic CAPTCHA solving is enabled. In the Python SDK, use solver_type.
boolean
default:false
Block advertisements during the session.
boolean
default:false
Block trackers and other privacy-invasive technologies during the session.
boolean
default:false
Block common annoyances like pop-ups and overlays.
boolean
default:false
Automatically accept cookies on visited sites.
boolean
default:true
Enable web recording using rrweb.
boolean
default:false
Enable mp4 video recording which captures the entire screen.
object
Reuse browser state across sessions. Properties:
  • id (string): Profile ID to use for the session
  • persistChanges (boolean, default false): Persist changes back to the profile on session close
string
Static IP ID to use for the session. Check the Static IPs page for more information.
boolean
default:false
Save downloads to the session. Check the Downloads page for more information.
array
Array of extension IDs to load. Check the Extensions page for more information.
array
URLs to block during the session.
array[object]
Array of objects for customizing image captcha solving. Each object supports:
  • imageSelector (string): CSS selector for the captcha image element.
  • inputSelector (string): CSS selector for the input field where the captcha answer should be entered.
number
Session timeout in minutes. Overrides your default team timeout from Settings.
boolean
default:false
Enable window manager to manage browser windows and tabs.
boolean
default:false
Enable window manager taskbar to manage browser windows and tabs.
boolean
default:false
Enable read-only Live View which disables user interactions.
boolean
default:false
Disable the browser password manager popup on logins.
boolean
default:false
Always open PDFs externally instead of in browser. This will download the PDF instead of opening it in the browser PDF viewer.