Skip to content Skip to sidebar Skip to footer

Javascript Within AppleScript 'missing Value' (for Clicking Button In Safari)

I have the following AppleScript with Javascript contained: set buttontext to 'Add Option' set buttonloc to 1 tell application 'Safari' activate tell window 1 do J

Solution 1:

I have managed to solve this with amending the end of the JS to:

buttonTags[" & buttonloc & "].click();" in current tab

Post a Comment for "Javascript Within AppleScript 'missing Value' (for Clicking Button In Safari)"