Selenium 4 – Minimize browser window

This is a simple change introduced in “v4.0.0-alpha-5.” Refer to the changelog at “https://raw.githubusercontent.com/SeleniumHQ/selenium/trunk/java/CHANGELOG” for more details.

Let’s examine the differences between versions “4.0.0-alpha-6” and “3.141.59.”

If we check the .manage().window() functionalities, only maximize() is available in 3.141.59, whereas both maximize() and minimize() are available in 4.0.0-alpha-6. Refer to the screenshots below.


3.141.59


4.0.0-alpha-6

About This Site

The main aim of this site is to share knowledge with fellow software test specialists who are keen to grow both technically and professionally.

Categories