Best way to click things on websites

Hi

I’m wondering what would be the best way to click things on websites. I found Press a Button doesn’t work even when trying to log-in to the KM forum. I was also trying to click “Welcome x” on amazon with no luck.

Move and click mouse does seem to work but it’s fiddly as websites always change stuff around.

Thanks.

Try the “click at found image” step. You can also use “execute javascript” to click buttons.

If you post the steps of the workflow you are trying to build, someone will likely respond.

Using JavaScript is one very effective way. I'm not very good at it, but one of our distinguished members, @ComplexPoint, is very skilled at this. Maybe he will come along and offer some suggestions.

Until he does, you might search the forum for:
user:ComplexPoint javascript

to find some examples he has previously posted.

Hey @skyblue,

UI elements on a webpage are very different than UI elements in OSX, and this is why there are specific Safari and Chrome actions.

Safari and Chrome happen to be scriptable, so it's possible for Keyboard Maestro to access them in a variety of ways.

Here's an example of logging into Amazon.

(I'm not checking to see if the user is already logged in.)

-Chris


Amazon Log-In.kmmacros (4.5 KB)