How can I minimize the browser window which has been launched via Selenium Webdriver?

Answers were Sorted based on User's Feedback



How can I minimize the browser window which has been launched via Selenium Webdriver?..

Answer / roopachowdary

Driver.manage().window().minimize()

Is This Answer Correct ?    15 Yes 3 No

How can I minimize the browser window which has been launched via Selenium Webdriver?..

Answer / vijay pratap singh

driver.manage().window().setSize(windowMinSize);

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Selenium Interview Questions

How to debug the tests in selenium ide?

0 Answers  


What are the testing types that can be supported by selenium?

0 Answers  


What are some commonly encountered exceptions in selenium?

0 Answers  


How do perform drag and drop using webdriver?

0 Answers  


Tell me how can we launch different browsers in selenium webdriver?

0 Answers  






How to click on a hyper link using linktext?

0 Answers  


How is driver.close()command different from driver.quit command?

0 Answers  


Explain how to assert text of webpage using selenium 2.0?

0 Answers  


When to use assert, verify and waitfor in selenium?

0 Answers  


How to check which option in the dropdown is selected?

0 Answers  


How to type text in a textbox using selenium?

0 Answers  


How to write in a text box using Selenium?

0 Answers  


Categories