Answers for "selenium get window size"

2

selenium change window size

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

how to find the size of a web page selenium

Dimension initial_size = driver.manage().window().getSize();
    int height = initial_size.getHeight();
    int width = initial_size.getWidth();
Posted by: Guest on February-04-2021

Python Answers by Framework

Browse Popular Code Answers by Language