I am using Selenium WebDriver and coding in Python
I have looked all over the place and the best I could find were things written in different languages. I also trie
You can either use selenium.windowMaxmize(); or if you want to run your test in some specific resolution,You can go with
selenium.windowMaxmize();
selenium.getEval("window.resizeTo(X, Y); window.moveTo(0,0);")