Connecting Muscle Sensor to Webpage


I have created a circuit using an arduino uno and myowear muscle sensor and I am trying to find a way to make it interact with a webpage. For example, if the muscle that the sensor is attached to is flexed it replaces the mouse click. Can someone please advise how to go about this? Have been googling solutions but not finding any solutions.


Use a Leonardo because it can emulate a USB mouse and/or keyboard.