Posted On: Mar 18, 2020
The maximum command can be used in the Java Selenium to maximize the browser window in the initial phases.
driver.manage().window().maximize(); For minimizing the browser, we can use the setPosition command and set a new point to minimize the window in the browser. driver.manage().window().setPosition(new Point(0, -1000));
Never Miss an Articles from us.
Selenium is open-source software, released under the Apache 2.0 license and can be downloaded and used without charge...