Recently, I came across Chrome extensions and have been intrigued by their functionality. One question that has been on my mind is: how can I programmatically trigger a button click when the extension runs? For instance, there is a button with the id 'Submit'. How do I simulate a click on this button using a Chrome Extension?
Imagine there is a webpage with a button identified as "Button1". How can I automate a click on this button via the Extension?
Here's an example HTML code snippet:
<input id='submit' type='submit' name='submit'>
I want my extension to be able to click this button upon clicking the extension icon.
Appreciate any assistance provided :)