📌  相关文章
📜  调整浏览器窗口大小 - 任何代码示例

📅  最后修改于: 2022-03-11 14:54:59.740000             🧑  作者: Mango

代码示例1
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)