Answers for "how to set the width and height of a window in selenium"

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 height 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

Code answers related to "how to set the width and height of a window in selenium"

Python Answers by Framework

Browse Popular Code Answers by Language