Set up the TestZombie Playwright integration in three steps: install the npm package, replace the Playwright import, and set your API key and email in the Playwright configuration.
1. Install the package
npm install @testzombie/playwright
2. Replace the import
Replace the existing import from @playwright/test with @testzombie/playwright.
import { test, expect } from '@playwright/test';
import { test, expect } from '@testzombie/playwright';
3. Set API key & email
Set the API key and email in your Playwright configuration.
Mobile tests use platform-specific element information and matching strategies while following the same TestZombie workflow.
Android
Uses resource-id, accessibility information, text and structural signals for matching.
iOS
Uses name, label, value and iOS-specific structural signals for matching.
Recommendation: prefer stable accessibility identifiers whenever your application provides them.
Configuration
Configuration without magic
Credentials identify the workspace and user. Project, environment and runtime options can then be managed centrally in TestZombie.
API keyAuthenticates calls against your TestZombie workspace.
User emailAssociates test activity with the executing account.
ProjectKeeps runs, elements and healing data separated by application.
EnvironmentDistinguishes environments such as test, staging or production-like systems.
Healing Guide
What happens during healing?
When the original locator no longer resolves the expected element, TestZombie evaluates stored element information and current candidates to find the best replacement.
1Original locator fails
2Candidates are collected and scored
3Best match is selected according to confidence
4Result and recommendation become visible in the dashboard
Rule-based firstDeterministic matching can resolve many changes without an AI call. AI can be used as an additional semantic signal when configured.
Billing & Credits
Credit usage at a glance
Credits are charged for TestZombie services, not for the execution time of your Selenium, Playwright or Appium infrastructure.
Test Run Init10
Element Update1
Element Scan2
Healing Attempt5
AI Call*5
* AI Call: 5 TestZombie Credits plus the costs of the selected AI provider.
Integrations
Connect TestZombie to your workflow
Use notifications and webhooks for operational workflows. Enterprise customers can additionally connect their own AI provider through BYOKI.
NotificationsSend relevant healing and automation events to your team.
WebhooksForward events into your own systems and automation pipelines.
BYOKIBring Your Own AI: connect OpenAI, Gemini, Mistral or a compatible endpoint and assign it to projects.
GitHubUse libraries and example projects as a practical starting point.
Troubleshooting
Common checks before debugging deeper
No connection to TestZombie?
Check API key, user email and network access to the TestZombie API.
Element is not healed?
Check whether enough element information was collected and review the healing result in the dashboard.
Mobile matching behaves differently?
Android and iOS expose different attributes. Prefer stable accessibility identifiers and inspect the stored mobile element data.
Need an example project?
The latest libraries and examples are available on GitHub.Open GitHub
Best practices
automation best practices for resilient tests
Practical guidance for stable locators, maintainable page objects and fewer flaky failures.
Stable locators
Use attributes that describe intent, not layout.
Explicit waits
Wait for user-visible state instead of fixed timeouts.
Page objects
Keep selectors centralized, readable and easier to maintain.
Reduce flaky tests
Separate timing issues from real product defects.
FAQ
Developer FAQ
How do I integrate TestZombie?
Add the Maven dependency, set API key and email via TestZombieDriver.setCredentials(...), and start the driver with TestZombieDriver.createChrome().
What consumes Credits?
Credits are consumed when TestZombie performs intelligent services such as initialization, healing and analysis.