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

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

Hello Rebecca,

You need to add the below command in the capabilities:

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