4142027f9b
- Added 'contain' field to FastExtractedElement.style interface, removing (s as any).contain property smuggling (line 682) - Replaced (assertion as any) duck-typing in getSelectorsFromAssertion with instanceof FluentRelation/FluentQuantifier/FluentAssertion checks - Replaced (assertion as any) duck-typing in buildFluentLabel with same instanceof pattern - Structural baseline ratcheted: asAny 101→98, nullishZero 62→61
imhotep-playwright
Playwright integration layer for 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 |