View on GitHub
View on NPM
Installation
Install the Hyperbrowser SDK via npm or yarn:Quick Start
Initialize the client with your API key:Configuration Options
TypeScript Support
The SDK is fully typed with TypeScript. Import types from@hyperbrowser/sdk/types:
Sandboxes
The Node SDK also includes the sandbox runtime for processes, files, terminal sessions, snapshots, and exposed ports:- Creating Sandboxes
- Sandbox Lifecycle
- Sandbox Processes
- Sandbox Files
- Sandbox Terminal
- Sandbox Snapshots
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
- GitHub Issues: https://github.com/hyperbrowserai/node-sdk/issues
- Email: info@hyperbrowser.ai