Skip to main content

Python Integration

Meshbrow works with Python via Playwright for Python, Selenium, or direct HTTP with the REST API.

Playwright for Python

The recommended approach — full CDP support with async/await.

Installation

Basic Usage

With Session Profiles

Selenium

For teams already using Selenium:
Playwright is strongly recommended over Selenium for Meshbrow. Playwright has better CDP support, faster execution, and built-in async.

Direct REST API with httpx/requests

For simple use cases without a browser automation library:

Fleet Operations

Error Handling