I’ve been struggling to figure out how to create a macro to fill a form in Safari in a page that’s using iframes.
The form itself is in the embedded iframe and KM doesn’t seem to be able to see/reach the fields when I use “Set Safari Fields to Text”.
Is it a known issue? Not supported?
it could be just me not figuring out how to set things up properly, but I’ve been really struggling with this one…
You probably have to write some JavaScript code to find the form, Keyboard Maestro can probably not see it directly.
Do iframes work with XPath? The XPath stuff (search the forum) is pretty cool for identifying elements on a page, but I’m afraid I’m not familiar with it so someone else would have to chime in as to how to use it for this sort of thing.
If you would like to show us the page and indicate the specific target and goal, we could see whether a KM action can reach it with an XPath expression.
This is a very nice set of tools!
Path had no trouble identifying the field (which I had already identified and attempted to play with using the regular field tools in KM), but it systematically failed to actually click in it when I tried to run the macro (nothing happens). The same thing works great in other forms I played with.
I suspect the iframes throw everything off.
Thanks a million for the Path action items though. I’ll put them to good use on other forms!