I saw something really nice with Elm elm-lang.org where one could record the user behavior, Push it to Google Firebase and replay it on a developer machine for debugging.
Show HN: Traquer – Records and reproduces user's in-page behavior
21–24 of 24 posts
Re: Show HN: Traquer – Records and reproduces user's in-page behavior
#22Hey, can you explain how your heatmap handles scrolling? I expect a heatmap to show what elements of a page were interacted with a lot, if scrolling isn't handled correctly, it might look that the user was interacting with another part of the page than he actually was.
I guess this is pretty buggy, but I already mentioned that heatmap is pretty naive, and should be taken care of sometime in future.
Re: Show HN: Traquer – Records and reproduces user's in-page behavior
#23I am poking through the source... seems like it should be pretty easy to programmatically build a stream of events to load, but I can't quite find the code that actually plays them back?
Re: Show HN: Traquer – Records and reproduces user's in-page behavior
#24I would be really interested to be able to use the playback part of this for unit testing. I have code that can click buttons, but it would be great to have a library I could just load inside a page and then play back a series of events. I am poking through the source... seems like it should be pretty easy to programmatically build a stream of events to load, but I can't quite find the code that actually plays them b…
You can look at https://github.com/nenadg/traquer/blob/master/public/lib/tra... (core method).
You can find `play` function in it. `play` function calls for `eventsScheduler` that does replay part by calling actions (events) on saved objects in pre-saved time (ie. time you moved your mouse and clicked here and there).
If you have any further questions email me. I've attached my email to my hn profile.