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