Is there any way to maximize the browser window using WebDriver (Selenium 2) with C#?
Through the below code i'm able to maximize the window,
((JavascriptExecutor) driver).executeScript("if(window.screen){ window.moveTo(0, 0); window.resizeTo(window.screen.availWidth, window.screen.availHeight); };");