test automation tips and tricks

How to use Chrome options with Selenium WebDriver and Robot Framework

How do you maximize a Chrome window when running a Selenium test? You can use the builtin method in Selenium WebDriver, which in e.g. Python is driver.maximize_window(). You call this after opening the window, which opens in the default size you have set, and then resizes it to maximized state. It works, but it’s adds