Selenium webdriver: unexpectedly exited. Status code was: 127

but looks like you’d tried going for the Xvfb template I mentioned for Firefox. You’ll have to “use” the template I mentioned; the cover page gives you some code that I was testing on that repl to see if there’s a better solution for Chrome.
Or, I think you can just replace

with webdriver.Chrome() as driver:


with xvfbwrapper.Xvfb(), webdriver.Firefox(options=options) as driver:
1 Like