Files
Imhotep/packages/imhotep-playwright/README.md
T

16 lines
821 B
Markdown
Raw Normal View History

# imhotep-playwright
Playwright integration layer for [Imhotep](https://gitea.com/anomalyco/imhotep). Provides page wrapping, CDP-backed geometry extraction, runtime pooling, property-based test runners, renderer adapters, and preset assertion contracts.
## Key Exports
| Export | Description |
|---|---|
| `imhotep(page, opts)` | Attach Imhotep to a Playwright page |
| `imhotepComponent(id, opts)` | Property-run entry for rendered components |
| `imhotepStory(url, opts)` | Property-run entry for Storybook stories |
| `imhotepFixture(path, opts)` | Property-run entry for fixture files |
| `test`, `expect`, `imhotepFixtures` | Playwright test fixtures |
| `ContextPool`, `PagePool`, `Semaphore` | Pooled runtime for multi-worker testing |
| `touchTarget` through `modalContainment` | Reusable assertion presets |