📌  相关文章
📜  在 selenium 中调整浏览器窗口的大小 - 无论代码示例

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