This version is old school.
Please find jQuery plugins on npm.
RedGlass - A plugin for monitoring browser events during an automation session.
by Frank O'Hara
View an automated test from the browser's perspective.