Hi! I'm using selenium in headless mode in some Python scripts on my development machine, and looked into running them on an Ubuntu 22.04 web server. It seems that even for headless mode, a browser (e.g. Chrome) must be installed. But that will require a window manager and probably quite a few other libraries that I'd like to avoid installing.
If anyone has ideas on a minimal installation in terms of memory and disk space, I'd love to hear them.