Update WebElementRecorder.js

E/Web Console( 3796): Uncaught ReferenceError: record is not defined at :27

bug fix