First pass at headless display support in the selenium module