driver.manage().window().getSize ruby code example Example: selenium python maximize window driver.maximize_window()