SDK Quickstart

Run the demo with your preferred browser client. The first launch downloads Mimic automatically; later runs reuse it.

Local launch requires Windows x64 or Linux x64; see the runtime requirements. On another client platform, connect to a supported host through an endpoint you can access.

Language
Browser client
Action

Install

Requires Node.js 22.19 or later, and npm.

Install the SDK
npm install mimic-browser

Add Playwright if it is not installed.

Add Playwright
npm install playwright-core@1.63.0

Create files

launch.mjs
import { launch } from "mimic-browser/playwright";

// Optional runtime pin: launch({ runtimeVersion: "0.2.4" })
const session = await launch();
try {
  const context = await session.newContext();
  const page = await context.newPage();
  await page.goto("https://example.com");
  console.log(await page.title());
} finally {
  await session.close();
}

Run

Run the example
node launch.mjs
Expected outputExample Domain