# xdotool > Command line automation for X11. - Retrieve the X-Windows window ID of the running Firefox window(s): `xdotool search --onlyvisible --name {{firefox}}` - Click the right mouse button: `xdotool click {{3}}`