Button Click to run script during development

I am a heavy user of java script triggered by Button clicks. During development switching to the view where the Button resides to “run” the script and back to the “Activity” view to see the console.log() execution feedbacks is laborious.

It will be great to include a local “Execute” button as shown below to trigger a button click in situ.
This will make the navigation during development much easier.

Have you considered having a browser console open, so that you can see the output without having to leave the view where the button is pressed?

Thanks Chris, a perfect and profoundly simple solution, hidden in plain sight :blush: