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

Answer Posted / vijay pratap singh

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know a way to refresh browser by using selenium?

466


How to assert title of the web page?

532


How to download a file in selenium webdriver?

485


How to delete browser cookies with selenium web driver?

464


How to write selenium code for purchasing product from amazon

1181






Mention what is selenium 3.0?

484


What are the types of text patterns available in selenium?

472


Is selenium capable of handling windows pop-ups?

474


What is the purpose of creating a reference variable- ‘driver’ of type

466


What are the different exceptions you got when working with webdriver?

465


What are some commonly encountered exceptions in selenium?

522


How does selenium score over other automation tools like hp qtp, ibm rft, and testcomplete?

459


How to check which option in the dropdown is selected?

570


How can we handle window ui elements and window pop ups using selenium?

449


How does one capture a page title in selenium 2.0?

515