How to minimize browsers in Selenium WebDriver 4?

How to minimize browsers in Selenium WebDriver 4?

Hi Toby,

Selenium is a free, open-source tool that is used to automate the functional testing of web applications to meet your functional requirements. However, Selenium Webdriver 4.0 has introduced a new minimize() method by which you can reduce web browser windows to a taskbar icon in Windows systems similarly as a user normally does when he/she minimizes a window. This minimized window can be accessed with the minimize() method in Selenium Webdriver 4.0.

Hope it helps!

1 Like