Unable to click on the link even with XPath

So I have got this AP Scan button which is unable to click with label or XPath option, here is the HTML for the button:

And the Xpath to this button is: //*[@id="repeater_ssid"]

There doesn't seem to be any failed errors notification unlike with other link and its simply not being clicked.

Any ideas?

That looks like it should work. Please post/upload your macro.

Here you go:

connect to the router.kmmacros (3.0 KB)

Here is one problem: Your web page HTML has more than one element with the same "id". id's must be unique on the page.

So, you need a different method to select the <input type="button"... of interest.

You could try this in a Execute a JavaScript in Browser action (KM Wiki):

var btnAPScan = document.querySelector('input[id="repeater_ssid"][value="AP Scan"]');

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:


It worked! However the radio button didn't please have a look at my first post:

Sorry, I don't understand what you mean by this.
You checked the "Solved" checkbox above. Did that solve your original issue?

If you need more help, then please post the info I asked for above:

Your previous solution worked I just marked it! Sorry for bother.