// 指定のウィンドウサイズに変更
int width = 1000;
int height = 500;
driver.manage().window().setSize(new Dimension(width, height));
// 最大化
driver.manage().window().maximize();
More than 5 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme