Local API
Control Firefox Browser Profiles programmatically
A local-first interface for profile lifecycle, connection validation, import, export and automation integration.
Validated
Local API
Environment76%
Network92%
Storage63%
Quick start
Explicit persistent profile launch
The example stays short and inspectable: profile path and network settings remain visible in code.
import { firefox } from "playwright";
const context = await firefox.launchPersistentContext(
"/profiles/workspace-01",
{ headless: false }
);
const page = await context.newPage();
await page.goto("https://example.com");API REFERENCE
Lifecycle operations
01
GET /v1/profiles02
POST /v1/profiles03
GET /v1/profiles/:id04
PATCH /v1/profiles/:id05
DELETE /v1/profiles/:id06
POST /v1/profiles/:id/launch07
POST /v1/profiles/:id/stop08
POST /v1/profiles/:id/duplicate09
POST /v1/profiles/:id/export10
POST /v1/profiles/import11
POST /v1/proxies/test12
GET /v1/profiles/:id/status13
GET /v1/operations14
GET /v1/operations/:id15
GET /v1/healthBind the API to a local or controlled interface, authenticate access and keep secrets out of operation logs.
Next step