How can I start browser in incognito window in JavaScript Mocha?

How can I start browser in incognito window in JavaScript Mocha?

Hi Miro!

You can start browser in incognito window in JavaScript Mocha by adding the below command in the capabilities.

var options = new ChromeOptions();
options.AddArguments("---incognito");