I am writing test cases in Selenium WebDriver using Python. I want to instantiate the browser with a specific width and height. So far the closest I can get is:
driver = webdriver.Firefox()
Which works, but it sets the browser size after it is created, and I want it set at instantiation. I'm guessing there is an approach along the lines:
profile = webdriver.FirefoxProfile();
driver = webdriver.Firefox(profile)
But I don't know what foo is, and I can't figure out where the docs are.