📅  最后修改于: 2022-03-11 14:54:59.740000             🧑  作者: Mango
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)