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

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

Hi Richard,

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

ChromeOptions capabilities = new ChromeOptions();
capabilities.AddArgument("--window-size=1280,720");