
# healenium-global

✅ A globally applied self-healing plugin for Playwright. Automatically recovers from broken selectors (click, fill, check, etc.) without code changes.

## 📦 Installation

```bash
npm install healenium-global
```

## 🚀 Usage

In your Playwright test setup:

```ts
import { patchPageGlobally } from 'healenium-global';

test('example test', async ({ page }) => {
  await patchPageGlobally(page);
  await page.click('selector-that-might-break');
});
```

- Automatically heals failing selectors using fuzzy text matching.
- Stores fallback selectors in `fallback-selectors.json`.
