Answers for "how to resize to window"

1

javascript resize window

window.resizeTo(width, height);
Posted by: Guest on May-26-2021
1

resize browser 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 "Javascript"

Browse Popular Code Answers by Language