Drop-in Integration
Initialize ClioMonitor and call start_run() on your Playwright context. Everything else happens automatically.
The Clio SDK automatically captures and uploads videos and traces from your Playwright automation tests. Just add a few lines of code and your test recordings will be uploaded to your Clio dashboard.
Drop-in Integration
Initialize ClioMonitor and call start_run() on your Playwright context. Everything else happens automatically.
Automatic Upload
Video recordings and traces are automatically uploaded when your context closes.
Secure by Default
API keys and sensitive data are automatically masked in logs and error messages.
Thread Safe
Safely monitor multiple Playwright contexts simultaneously.
from clio import ClioMonitorfrom playwright.async_api import async_playwright
monitor = ClioMonitor(api_key="your_api_key")
async with async_playwright() as p: browser = await p.chromium.launch() context = await browser.new_context(record_video_dir="./videos")
await monitor.start_run(context, "Login Test")
page = await context.new_page() # ... your test code ...
await context.close() # Upload happens automaticallyInstallation
Install the SDK and get your API key. Install now →
Quick Start
Monitor your first automation in 5 minutes. Get started →
API Reference
Complete documentation for all methods. View docs →