always use selenium window maximized python code example Example: selenium python maximize window driver.maximize_window()