Recommended auto-hotkey for wayland

What is the best way to make keyboard auto-type on wayland?
I’ve used xdotool in XORG and it worked very well:
I wrote this in a script:
“xdotool type SOME_TEXT_TO_AUTOTYPE”
then call the script with keyboard bynding

But in Wayland it doesn’t work.
Any Idea?
Thanks

Try both of them.