Answers for "window resize in selenium"

2

selenium change window size

options = webdriver.ChromeOptions()
        options.add_argument("--window-size=1100,1000")
Posted by: Guest on April-04-2021
1

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)
Posted by: Guest on December-05-2020

Python Answers by Framework

Browse Popular Code Answers by Language