Given a button reference, you can use javascript on your console to .click()
it.
Is there a way for my website to differentiate between a click triggered by a mouse and a click triggered by the user's javascript? Or are these effectively equivalent from the browser's point of view?