Using web browsers to access apps is actually a boon in this regard: the whole UI is exposed via the DOM, and you can use JavaScript to interact with it for macros -- and it's cross platform as it works on any OS that can run a web browser!
In contrast Automator/AppleScript only works on macOS afaict.