Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use
ElementHandle
to document.body
instead of document
Using `document` was causing a runtime error in the page as Playwright's snapshot internals expect a proper element that can be "marked" via `Element.setAttribute`. See: https://github.com/microsoft/playwright/blob/20957f820d34a53003ab0722fa149c80fedec846/packages/playwright-core/src/server/trace/recorder/snapshotter.ts#L107-L109 See: #478 Fixes #478
- Loading branch information