'Press a Button' Action Not Working

Hey Michael,

Welcome to the forum!   :smile:

You can't use the Press a Button action with web pages – those are web generated objects and are not subject to the normal rules of macOS apps.

Please don't post screenshots of code – copy the actual code, paste it into the forum editor, then use theimage (preformatted text) button to make sure it displays properly.

When you post pictures of code, someone has to copy it by hand to work with it...

See this link for more information:

Code Block Fencing on the Keyboard Maestro Forum and Paste AppleScript as Markdown Macro


Try running this in a Execute a JavaScript in Front Browser action:

document.querySelector('a.button.button--orange.mt-1').click()

You also have to make sure JavaScript is allowed from Apple-Events.

Turn the Develop menu on in the Advanced tab of Safari's Preferences.

image

--
Take Care,
Chris