Is there a linux headless mode already? Selenium chrome driver headless is pretty much useless in linux because important methods like `send_keys` need X anyway for keyboard mappings or something like that.
Support headless flag on Linux, RESOLVED FIXED in Firefox 55
https://bugs.chromium.org/p/chromedriver/issues/detail?id=17...
If you are blocked it may be worth a look