selenium python get window size code example Example: selenium python maximize window driver.maximize_window()