var btnAPScan = document.querySelector('input[id="repeater_ssid"][value="AP Scan"]');
btnAPScan.click()
If that doesn't work, try testing each JavaScript statement in the Chrome Dev JavaScript Console.
You can also use the Macro Debugger (KM Wiki) to step through each Action in your Macro to determine where it fails.
If you still can't get it to work, please copy the entire web page HTML and paste here using the "html" tag:
How To Post Example Data
When you post example data, please put the data in a code block, between lines of triple backquotes: