Note: when in use, this Chrome extension monitors what you click and type. You can see the code here, open-sourced: https://github.com/hchiam/in-browser-test-automator