migration guides

Bring the tests you have. Run them on Kifas.

Pick where you are coming from. Each guide uses the real config from our docs, and none of them asks you to rewrite a test.

1,000 credits, no card, 14 days.

1,000 free creditsNo card, 14 days
Pay for usage, not seatsAdd the whole team at no extra cost
Self-healing testsFixes are re-run and proven before they land
Checks on every pull requestResults in GitHub before you merge
Guides

What are you moving?

Your Playwright tests connect to a Kifas cloud browser over CDP. Chromium and Firefox.

  1. 01

    Create an API key

    Create a Kifas API key and store it as KIFAS_API_KEY.

  2. 02

    Ask Kifas for a session

    One call returns a connect URL for a fresh browser.

  3. 03

    Connect and run

    connectOverCDP to that URL and drive the page as you do today.

Connect to Kifaskifas.ts
import { chromium } from 'playwright'

// Step 1: ask Kifas for a session.
const resp = await fetch('https://mcp.kifas.io/', {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${process.env.KIFAS_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    jsonrpc: '2.0',
    id: 1,
    method: 'tools/call',
    params: { name: 'kifas.session.create', arguments: { browser: 'chromium' } },
  }),
})
const session = (await resp.json()).result as { connect_url: string; session_id: string }

// Step 2: drive it like any Playwright browser.
const browser = await chromium.connectOverCDP(session.connect_url)
const ctx = await browser.contexts()[0] ?? await browser.newContext()
const page = await ctx.newPage()
await page.goto('https://example.com')

Want visual checks too? npm install --save-dev @kifas/playwright and call kifas.visualCheck(page, name).

Stuck on something specific?

An engineer will look at your setup with you.

Talk to an engineer

Try it on your own suite.

Start free with 1,000 credits and run one spec before you move the rest.

1,000 credits, no card, 14 days.

BrowserStack and Percy are trademarks of their respective owners.