When it comes to sending keystrokes or triggering keybindings in a specific application window on Wayland, the process is a bit different compared to Xorg. Wayland has a more secure design that restricts direct access to application windows by other processes.
However, there are alternative...