I have to admit, the “options” vs. “capabilities” chapter in the Selenium API is highly confusing – we deliberately didn’t do any “simplification” attempts in the Selenium Nodes, in order not to add yet another layer of black box abstraction around it .
Anyhow, setting “Chrome Options” is rather easy. You just need to add an object
chromeOptions to the capabilities, and there you can add an
args entry where you put your setting. A picture obviously describes this better:
Let me know how this works!