The difficulty may be related to the context of a pop-form, rather than a simple web page.
Is that a publicly accessible resource that we can look at ?
If not, it’s possible that you can get the XPATH to the control by:
Ctrl click it
Choose ‘Inspect’ from the contextual menu
and then in the webkit source view,
Ctrl-click the highlighted source element for the control
Choose Copy As XPATH from the contextual menu
Keyboard Maestro has
excellent built-in actions for clicking on web-page links specified by their labels.
For cases where the target is not uniquely labelled, here is a custom action (generalised from an earlier macro) which should be able to identify and click on any item on a web page.
The item is specified by an XPath, applied either to the whole document, or to the current selection, or mouse position. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Moderator Edit -- 2017-06-26 3:39 PM…
Again, however, it is possible that the popup form context would need some additional special handling - hard to tell without seeing the page itself and the way in which its source code is written.