window-size Questions

18

I'm using Selenium WebDriver for automation and I'm using Chromedriver. I have noticed that when my driver runs and opens the chrome browser, it opens the browser with a strange size. I tried to f...

6

I am running on Screen Resolution of (1366 X 768 ), but when I call getSize().getWidth() and getSize().getHeight() methods , the result I'm getting is: Size of Width is : 1382 Size of Height is ...

5

The following code to resize a selenium chrome window does not work: driver.set_window_size(1920, 1080) time.sleep(5) size = driver.get_window_size() print("Window size: width = {}px, height = {}p...

3

Solved

We created extensions for Chrome, Firefox and Safari and we want to test our extensions with Selenium. We have an Ubuntu server and I installed Firefox and Chrome in it (with ChromeDriver). The tes...
Volleyball asked 13/4, 2015 at 7:37

10

I'm using Selenium WebDriver for Python. I want instantiate the browser with a specific width and height. So far the closest I can get is: driver = webdriver.Firefox() driver.set_window_size(1080,8...
Melany asked 13/3, 2013 at 22:10
1

© 2022 - 2024 — McMap. All rights reserved.