Record and replay mouse movements. An utility written in vanilla javascript.
This is a small util which allows you to record basic mouse events (move, clicks, scroll) and events and replay then later.
You can replay a client's session for many reasons: replicating a bug, see user's behaviour, etc..
- git clone this repo.
- Open demo/src/demo.html on your browser.
- Play!
- You'll have to include wix-client-recorder.min.js in your project.
- You can call any of the following functions from your javascript call: Recorder.start - to start a fresh reording of a page. Recorder.stop - stop current reocrding Recorder.play - playback the current recording, or play some saved recording Recorder.printTable - print recording to console as table Recorder.printJson - print recording to console as json Recorder.getSteps - get an object with all recorded steps Recorder.setDebug - set to true if you want a verbose messages on the console.
- install npm (https://www.npmjs.com/)
- install Grunt (http://gruntjs.com/)
- git clone git@github.com:danielwix/wix-client-recorder.git
- cd wix-client-recorder
- run: npm i && grunt
- modify some code. Don't forget to run grunt before you commit.