Pretty new to JS and am trying to set up an automator to take care of some tedious tasks on a work website. I've spent many hours today attempting to select the 2nd radio button (of 2) using JS. Seems that the following would do the trick, but have been unsuccessful.
document.getElementById('your_button').click();
Attached is a web inspection screenshot showing that the NAME and ID of the radio buttons are the same. I would like to trigger the TEXT button (HTML is defaulted to checked).
Would certainly appreciate if someone might point me in the right direction.