Hacker News new | ask | show | jobs
by AshamedCaptain 1806 days ago
xtest is an entire X11 extension designed exclusively for the purpose of faking user input for automated testing purposes.

Just search for xtest + your favorite programming language and you are likely to find a binding.

Most utilities use this behind the scenes (e.g. xdotool).