Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to resize 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)
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #resize #window
ADD COMMENT
Topic
Name
1+2 =