Minimize Browser in Process Studio

Hi All,

How can i minimize browser in Process Studio ?

Regards,
Shaan

Hi Shaan,

Unfortunately, Selenium do not provide any built-in function for minimizing the browser window, there is only function for maximizing the window. But there is some work around for doing this.

After launching browser, make use of User Defined Java Class. Get the webdriver instance from previous step and execute below statement with driver instance:
driver.manage().window().setPosition(new Point(-2000, 0));

Regards,
Amol Kadam
09665364665