b4ae8e9134
- Add children branch in convertDomain() alongside descendants — children() now correctly maps to parentVar: '$parent' instead of falling through to the default branch which reversed the parentVar/selector mapping. - SelectorDomainResolver now handles parentVar domains with no CSS selector filter (children domain collects all registered subject IDs, then filters by parent via ancestor index). - All 1072 tests pass across 14 packages.
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 |