Skip to content

Commit 84bd299

Browse files
feat: Configure Session Replay to wait for DOMContentLoaded (#1164)
Co-authored-by: Chunwai Li <[email protected]>
1 parent 17956c9 commit 84bd299

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/features/session_replay/shared/recorder.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ export class Recorder {
9393
this.parent.ee.emit('internal-error', [err])
9494
/** returning true informs rrweb to swallow the error instead of throwing it to the window */
9595
return true
96-
}
96+
},
97+
recordAfter: 'DOMContentLoaded'
9798
})
9899

99100
this.stopRecording = () => {

0 commit comments

Comments
 (0)