Skip to main content

Examples

The repository includes runnable examples for API key auth, product listing, session creation, proxy.full_url, telemetry reporting, and cleanup.

Python

To register an Agent from the example:

Playwright

The script creates a dynamic session, waits for active, launches Chromium against https://httpbin.org/ip, reports telemetry, and terminates the session during cleanup.

Playwright proxy shape

NexaLayer returns proxy.full_url, but Playwright commonly expects:
Prefer host, port, protocol, username, and password when building Playwright config.