@wdio/xvfb

A standalone utility to manage Xvfb (X Virtual Framebuffer) for headless testing

xdotool

C++ bindings for Node.js to handle X11 using the full power of libxdo.