Framework Compatibility

Browser Swarm seamlessly integrates with popular browser automation frameworks, enabling developers to leverage their existing tools while benefiting from our scalable, serverless infrastructure.


🎭 Playwright

Playwright is a modern automation framework supporting multiple browsers and languages.

npm install playwright-core browser-swarm-sdk
import { chromium } from 'playwright-core';
import { createSession } from 'browser-swarm-sdk';

const session = await createSession({ browser: 'chromium' });
const browser = await chromium.connectOverCDP(session.connectUrl);
const page = await browser.newPage();

await page.goto('https://example.com');
await browser.close();


🎎 Puppeteer

Puppeteer provides a high-level API to control Chrome or Chromium over the DevTools Protocol.


πŸ§ͺ Selenium

Selenium is a widely-used framework for automating web applications across different browsers.


By integrating Browser Swarm with these frameworks, you can enhance your automation capabilities with scalable, reliable, and efficient browser sessions.

Last updated