Commit 6df7325
feat: wrap elements in WebElement for unified API across helpers
- Import and use WebElement wrapper in lib/els.js for all element functions
- Provides consistent API (getText, getAttribute, click, etc.) across Playwright, WebDriver, Puppeteer
- Update unit tests to work with WebElement instances
- Add comprehensive element-based testing guide (docs/element-based-testing.md)
- Update docs/els.md to remove portability warning and link to new guide
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2f8bc5c commit 6df7325
File tree
4 files changed
+573
-36
lines changed- docs
- lib
- test/unit
4 files changed
+573
-36
lines changed
0 commit comments