Get Your API Key
What Just Happened?
- Initialized a Tzafon client with your API key
- Created a browser instance
- Navigated to Wikipedia
- Captured a screenshot
Customize Session Settings
| Parameter | Type | Description |
|---|---|---|
kind | string | "browser" or "desktop" |
timeout_seconds | int | Maximum session lifetime |
inactivity_timeout_seconds | int | Idle timeout before auto-termination |
display | object | Viewport dimensions: {width, height, scale} |
context_id | string | Custom ID for request correlation |
auto_kill | bool | Auto-terminate on inactivity (default: true) |
persistent | bool | Save session state for reuse |
environment_id | string | Restore state from a previous persistent session |
use_advanced_proxy | bool | Use advanced residential proxy (browser only) |
persistent to create a reusable state, then pass the returned session id as environment_id later. If you want the restored session to be saved again, set persistent: true on that run.
See Session Lifecycle for details on timeouts and billing.
Next Steps
Core Concepts
Understand execution modes and computer types
Actions Reference
Explore all available actions
Example
See a complete working example
Pricing
View usage-based pricing