I am trying to get the apple script to click on the radio button. I am very new to this. I am getting this error: error "Google Chrome got an error: Can’t make theScript of active tab of tab id 1.521810707E+9 of window id 1.52181061E+9 into type specifier." number -1700 from theScript of active tab of tab id 1.521810707E+9 of window id 1.52181061E+9 to specifier
The code:
to clickID(theID)
tell application "Google Chrome"
tell window 1 to tell (make new tab)
set its URL to "https://www.colonialfirststate.com.au/FirstNet/FNA/Controls/AdviserHosting.aspx?Page=BusinessReporting"
delay 5
set theScript to "document.getElementById('" & theID & "')'.click();"
execute javascript theScript in active tab
end tell
end tell
end clickID clickID("optFormatCSV")
Here is a screenshot of the button and copy from inspecting the element:

InspectElement

Pls help :(