driver.window.maximize code example Example: how to maximize window in selenium java driver.manage().window().maximize();