Installation
Install the Hyperbrowser SDK:Quick Start
The Hyperbrowser Python SDK supports both synchronous and asynchronous clients.Synchronous Client
Asynchronous Client
Configuration Options
Both clients accept the same configuration parameters:Typing Support
The SDK is fully typed end‑to‑end with Pydantic models. Import types fromhyperbrowser.models and pass method parameters as model instances.
- Parameter models: Most methods accept a single Pydantic “params” object (parameter object/DTO). Create an instance and pass only the fields you need —
None/unset fields are omitted on the wire. - Field names and aliases: Use Pythonic field names in code; the SDK serializes to API field names automatically via
serialization_alias(e.g.,use_ultra_stealth→useUltraStealth). - Responses: Methods return typed Pydantic models.
Example: Create a session
Integration Examples
Computer Actions
Programmatically control the browser with low-level actions. For thesession-id parameter, you can also just pass in the detailed session object itself, and it is actually recommended to do so.
Click
Type Text
Press Keys
Uses the xdotool format for keys: https://github.com/sickcodes/xdotool-gui/blob/master/key_list.csvMove Mouse
Drag
Scroll
Screenshot
Support
- Documentation: https://docs.hyperbrowser.ai
- GitHub Issues: https://github.com/hyperbrowserai/python-sdk/issues
- Email: info@hyperbrowser.ai