Passing ChromeOptions to the chromedriver through Selenium


#1

After a lot of trial and error, I have finally got the chrome driver to work on Ubuntu server 16.04 (inside a Docker container). One of the key issues I had was that the --no-sandbox argument needed to be passed to Chrome. I’ve currently done this by hacking at the selenium-webdriver npm package. My question is whether there is a proper place I can set this? Or do I need to create an issue, and if so, with which package should I request it?

Thanks in advanced. Happy to share other tips on getting this working if anyone else is having the same trouble.

Cheers
Chris