How to resize browser window using selenium webdriver?

Answer Posted / sowjanya

to resize a window
driver.manage().window().setSize(100,300);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is page factory?

618


If one wanted to display the value of a variable named answer in the log file, what would the first argument to the previous command look like?

570


Explain the difference between confirming and verifying commands?

625


Do you know what are the main advantages of selenium grid?

583


How can it be found if an item is displayed on the screen?

598






How to export the tests from selenium ide to selenium rc in different languages?

559


What is the use of driver.get("url") and driver.navigate().to("url") command? Is there any difference between the two?

608


What are the different components in selenium?

558


How recorded command can be edited in ide?

586


Explain about selenium-grid ?

587


Explain what is group test in testng?

589


Explain how selenium grid works?

770


What are the advantages of selenium as a test tool?

525


Explain what are the limitations of selenium ide?

805


Please explain what are the different types of locators in selenium?

544