How to start browser in incognito window in C#- xUnit?

How to start browser in incognito window in C#- xUnit?

Hello Junior,

You need to add the below command in the capabilities:

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