How to set window size using chrome options when using C#- NUnit?

How to set window size using chrome options when using C#- NUnit ?

Hey Richard,

You can do that by passing the argument in the chrome options object as follows:

ChromeOptions capabilities = new ChromeOptions();
capabilities.AddArgument("--window-size=1366,768");