XWayland is great for applications and useless for anything else; I expect full Xorg compatibility would let you use ex. xdotool
There is some attempts though like: https://github.com/atx/wtype
> There is some attempts though like: https://github.com/atx/wtype
I am aware of several of these attempts; so far they all fall flat precisely because wayland compositors tend to not provide enough API surface to actually recreate xdotool et al. entirely (ex. wtype will always blindly type into whatever window is active, it can't provide xdotool's --window option to pick where keystrokes are going).