How can I change the window size in Chrome when using C#-NUnit?

How can I change the window size in Chrome when using C#-NUnit?

Hi Miro Vasil,

To change the window size in Chrome when using C#-NUnit, use the below capability:

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