I am thinking of creating a Chrome plugin that records user activity in the browser and sends that activity list to a server. I need a real human user controlling the front-end, but some plugin listening for activity, recording the activity and sending that data to a backend process.
My end goal is to generate a test skeleton. I will use the recorded activity to generate the test skeleton. The user will have to hit play/pause/stop in some UI to begin/end recording activity.
I have seen some plugins like this, but I want to write an improved one for my use case. Does anyone know how to listen for browser events? Is there some solid list of hooks that I can use? I assume all of those hooks would be on window
or document
?
Does anyone have any recommendations about how to get this done? I am happy to use existing tools if there are some good ones.