Skip to content

Commit

Permalink
Fix env puppeteer error in cross-origin-iframes.test.ts (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
eoghanmurray authored Feb 5, 2025
1 parent f18fead commit 965b0a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changeset/shy-countries-rhyme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion packages/rrweb/test/record/cross-origin-iframes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async function injectRecordScript(
// we get this error: `Protocol error (DOM.resolveNode): Node with given id does not belong to the document`
// then the page wasn't loaded yet and we try again
if (
!e.message.includes('DOM.resolveNode') ||
!e.message.includes('DOM.resolveNode') &&
!e.message.includes('DOM.describeNode')
)
throw e;
Expand Down

0 comments on commit 965b0a9

Please sign in to comment.