resize driver window selenium code example
Example: resize browser window in selenium
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)