adspace
How to set the size of browser window using selenium?
Answer Posted / Kumar Mukesh
To set the size of the browser window using Selenium, you can use the Manage() class's window().setSize() method. Here is an example:
driver.manage().window().setSize(new Dimension(1024, 768));
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers