Prerequisites
Set your API token and base URL. The browser runs in Surfsky’s cloud, so skip the fork’s browser download step. Proxy, fingerprint, and other start options are in the API reference.Run an example
The examples use a one-time profile. To reuse a saved login, pass a persistent profile UUID to the session call instead.- Python
- TypeScript
Requires Python 3.12 or newer.Save as Run it:
surfsky_patchright.py:browser.close() over CDP only disconnects.