Install the package
Install the TestZombie Playwright library via npm.
npm install @testzombie/playwright
Using Playwright with TypeScript? Keep your existing tests. If a field or button changes and its locator no longer matches, TestZombie can look for a suitable replacement and document the fix.
TestZombie adds healing and analysis without replacing your framework model.
Playwright provides a powerful testing API. TestZombie adds an intelligence layer for cases where applications and locators evolve.
Supported changes to buttons, roles, text or other locators can be handled during test execution.
Playwright support covers Chromium, Firefox and WebKit.
You extend your existing Playwright tests rather than rebuild them in a new tool.
Successful healings can optionally be written directly into the TypeScript test in a traceable, reviewable form.
When a locator stops matching, TestZombie analyzes the current UI, recovers the intended element and can write the validated fix back into the TypeScript test.
// original locator
await page.getByText('Pay now').click();
// TestZombie healed
await page.getByRole('button', { name: 'Complete order' }).click();
Use the Playwright product page as the entry point, then go deeper into code updates, TypeScript setup or the live demo.
Three steps are enough: install the package, replace the Playwright import, and set your TestZombie credentials in the Playwright configuration.
Install the TestZombie Playwright library via npm.
npm install @testzombie/playwright
Replace the existing import from @playwright/test with @testzombie/playwright.
import { test, expect } from '@playwright/test';
import { test, expect } from '@testzombie/playwright';
Set the API key and email in your Playwright configuration.
process.env.TESTZOMBIE_API_KEY = '';
process.env.TESTZOMBIE_EMAIL = '';
Start with your existing Playwright project and add runtime healing, automatic code update and centralized analysis.