Is there any way to maximize the browser window using WebDriver (Selenium 2) with C#?
For me, none of the solutions above worked when working with Selenium Web Driver C# + Chrome:
--start-maximized - it is ignoredI managed to get it working using InputSimulator:
var inputSim = new InputSimulator();
// WinKey + UP = Maximize focused window
inputSim.Keyboard.ModifiedKeyStroke(VirtualKeyCode.LWIN, VirtualKeyCode.UP);