A curated collection of real-world code examples organized by scenario. Each section includes working curl, Python, and Node.js snippets you can copy and run immediately.
Manage browser profiles and connect via CDP (Chrome DevTools Protocol) for headless or headed automation.
| What you want to do | Example |
|---|---|
| Create → Start → Automate → Stop a profile | Browser Profile Examples |
| Batch update proxies across profiles | Browser Profile Examples |
| Full Selenium script (Python) | Selenium Guide |
| Full Playwright script (Python) | Playwright Guide |
| Full Puppeteer script (Node.js) | Puppeteer Guide |
Create cloud phone instances, install apps, manage files, and connect via ADB — all through the Open API.
| What you want to do | Example |
|---|---|
| Auth → Create → Install App → ADB | Cloud Phone Examples |
| Upload a file to a cloud phone | Cloud Phone Examples |
| Complete Python SDK (production-ready) | GitHub — cloud_phone_open_api_demo.py |
Programmatically create and manage RPA scheduled tasks using marketplace or personal templates.
| What you want to do | API Reference |
|---|---|
| List marketplace templates | POST /api/cloudphone/rpa/template/market/page — Local API |
| List personal templates | POST /api/cloudphone/rpa/template/personal/page — Local API |
| Create a one-time schedule | POST /api/cloudphone/rpa/onceTask/save — Local API |
| List / cancel schedules | POST /api/cloudphone/rpa/task/page — Local API |
| Query execution records | POST /api/cloudphone/rpa/subTask/page — Local API |
Tip: See the
templateParameterreference in the Create One-Time Schedule endpoint for a step-by-step guide on building template parameters.
Proxies, groups, and tags are shared across Browser Profiles and Cloud Phones. Manage them from one place.
| What you want to do | Example |
|---|---|
| Add / list / delete proxies | Shared Resource Examples |
| Create and manage groups | Shared Resource Examples |
| Create and manage tags | Shared Resource Examples |
| Full workflow: create resources → assign to profile | Shared Resource Examples |
| Language | Examples |
|---|---|
| curl | Browser, Cloud Phone, Shared Resources |
| Python | Browser, Selenium, Playwright, Cloud Phone, Shared Resources |
| Node.js | Browser, Puppeteer, Cloud Phone, Shared Resources |