Why copilotbrowser?
Everything you need for reliable browser automation and testing.
Automate, debug, and ship — at every scale.
AI-ready browser automation that works where you do.
Test with confidence, not complexity.
copilotbrowser's built-in test runner handles parallel execution, smart retries, fixtures, and assertions out of the box. Auto-waiting means no more arbitrary sleeps — your tests stay green because they actually wait for the right moment.
test('login works', async ({ page }) => {
await page.goto('/login');
await page.getByLabel('Email').fill('user@example.com');
await page.getByRole('button', { name: 'Sign in' }).click();
await expect(page).toHaveURL('/dashboard');
});Debug faster with traces and time travel.
Every test run captures a rich execution trace — DOM snapshots, network requests, console logs, and action timelines. Open the Trace Viewer to replay exactly what happened, step by step, without re-running anything.
// Capture a trace for every failed test
use: {
trace: 'on-first-retry',
screenshot: 'only-on-failure',
video: 'retain-on-failure',
}Deploy everywhere. Integrate with anything.
From your local machine to Azure Pipelines, GitHub Actions, Docker containers, and Copilot Studio MCP servers — copilotbrowser works wherever you need it. Pre-built images. CI templates. MCP tool server mode for AI agents.
# Pull the ready-to-go Docker image
docker pull mcr.microsoft.com/copilotbrowser:latest
# Or run as an MCP tool server
npx copilotbrowser mcp-serverGet copilotbrowser
Available everywhere you build and deploy.
Your Language, Your Way
First-class support for all major languages.
Up and Running in 60 Seconds
Install
npm init copilotbrowser@latestWrite a Test
await page.goto('https://example.com');Run
npx copilotbrowser testView Report
npx copilotbrowser show-report