'Minimize chrome ribbon button in python selenium

I have python selenium code to expand chrome button as mentioned below.

button.click()

And it expands button like this:

Chrome button expansion

Now I want to minimize button. Is there any method like button.unclick()?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source