This repository was archived by the owner on Aug 6, 2025. It is now read-only.
Commit e5b3e6f
committed
fix: use
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 #478ElementHandle to document.body instead of document
1 parent 93f3d1c commit e5b3e6f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
| 162 | + | |
162 | 163 | | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
0 commit comments