var recorder = new cimice.Recorder({ target: document.documentElement; }); recorder.startRecording(); recorder.on('recording', function() { console.log(recorder.getMovie()); });