cnee/xnee doesn't care about the app - or even if there is an app under it. It can be a browser or not. Sounds just like AutoKey.
As for scripts - WMs almost always have a capability of assigning keyboard chords to invoke anything. Call them "hot keys" if you like. Same thing, just without running yet another app. This has been part of X/Windows 35+ yrs - perhaps since the mid-1980s. My WM is fvwm. In the config file for it, I have
Code:
Key f A 4 Exec /usr/bin/firefox.sh
Key t A 4 Exec /usr/bin/thunderbird.sh
which sets up 4th level keys to launch programs. fvwm has been around since just after mwm.
openbox has an XML file for stuff like this. Almost all WMs do - I say almost because I haven't looked at every possible WM, but I've looked at 20+ of them and they all have a method.
Selenium IDE and Selenium are most definitely for automating browsers. Selenium IDE is limited to inside the browser area. For example, it cannot Save As .... from the browser menu to grab a complex webpage that is full of javascript and requires getting to it through multiple other javascript webpages first.
AutoKey using Python3 is fantastic, if you know or like Python. I could never get used to the mandated indentation methods python requires. Too many decades programming in languages that don't use whitespace as important aspects for decisions. OTOH, all the new kids learn python and it is a great language if you can un-learn habits.
Anyway, this isn't helping you to find 100% replacements for to use. I don't see X/Windows going away as quickly as claimed. There are too many features still lacking in Wayland. It breaks many of my most important automation workflows, so I suspect it breaks workflows for others as well. Nearly everything I do is running programs on other computers, not the one I happen to be sitting behind at the moment. Additionally, I seldom use any remote-desktops, unless I'm 100% using them from a different country where I didn't want to bring any data at all. When I travel to those places, I bring a very lite Linux that only has VPN client, ssh-keys, and a remote desktop client on it. If I need to run any automation, it will happen inside the remote desktop. I tend to use x2go, which is NX based for this, if any internet connectivity is possible.
Google found this project: https://git.sr.ht/~geb/dotool written in Go. You've probably seen it.