@Yuyz0112 Hey Yuyz and all,
I'm having the following problems:
1) for complicated pages - the entire browser gets stuck and crashes.
did anyone else encounter this problem?
2) I want to record an entire session with different pages. the rr-web did not serialize all the different pages, and i was forced to do stopRecord() and startRecord() for every page navigation.
Is this the correct practice? is there a way to make it more efficient?
@Yuyz0112 Sadly I cant.
I am working in angular 8 framework.
The problem is that on navigating to a heavy page - the recorded starts adding emitting thousands of events to the "events" array.
if I call stopRecordingFunction() after 6000 events in the array - the UI is OK,
These 6000 were sent to the backend - however while replaying them - they show nothing..
any idea?
document.createElement
will failed if the tag name is invalid. Maybe we need find another way to create element with invalid tag name?
Hey there @Yuyz0112 , I hope you and all the community members have a great day first of all!
I am just messaging to ask regarding the https://github.com/rrweb-io/rrweb-snapshot code. Could you please, give us an example of how we could use the snapshot code alone to simply take a snapshot of a page on demand via javascript?
@Yuyz0112 If a page contain this kind of code : <!--[if lt IE 9]>
<script src="//cdnj... html5shiv.min.js" type="text/javascript"></script>
<![endif]--> rrwebPlayer will crash with that error ( I think it's because it's a type 5 (comment) and when rrwebplayer read this part and found this caractere "<" it crash
Uncaught TypeError: e.map is not a function
at new t (index.ts:69)
. Can anyone provide a sample line for this: const events = []
. I have tried a couple different ideas with no luck. here is what I have currently const events = [{"data":{},"timestamp":1590779368970,"type":0}, {"data":{},"timestamp":1590779369079,"type":1}, {"data":{"href":"https://localhost/rrweb/index","width":1920,"height":552},"timestamp":1590779369080,"type":4} ];
@/all
For anyone keen on the live mode, rrweb based screen sharing, co-browsing tool, now you can check my new open source project syncit!