set window size from elenium code example Example: selenium python maximize window driver.maximize_window()