Answers for "how to change size of the window"

1

how to change size of the window

To resize browser window 
-I would create object of dimensions class
Dimension newD = new Dimension(480,620)
-Than I resize the current window to the given dimension
driver.manage().window().setSize(newD)
Posted by: Guest on December-05-2020

Code answers related to "how to change size of the window"

Browse Popular Code Answers by Language