What steps will reproduce the problem?
The sample code below which:
1. Creates a ChromeDriver
2. Sets the size below 347 pixels wide
What is the expected output? What do you see instead?
Expected width to be 320. Expected height to be 568.
Instead, width is 347 (ok not really a big problem). Instead, height is 107
(not ok).
Selenium version: 2.42.2
OS: debian jessie
Browser: Chromium
Browser version: 40.0.2214.91 (I think it was ok with 39)
Driver: chromedriver-2.9
Please provide any additional information below. A sample reduced test
case, or a public URL that demonstrates the problem will intrigue our merry
band of Open Source developers far more than nothing at all: they'll be far
more likely to look at your problem if you make it easy for them!
System.setProperty("webdriver.chrome.driver", chromedriverAbsolute);
driver = new ChromeDriver();
driver.manage().timeouts().implicitlyWait(3, TimeUnit.SECONDS);
driver.manage().window().setSize(new Dimension(320, 568));
doing this works fine:
driver.manage().window().setSize(new Dimension(347, 568));
Original issue reported on code.google.com by jas...@alumni.cmu.edu on 3 Feb 2015 at 4:02
Original issue reported on code.google.com by
jas...@alumni.cmu.edu
on 3 Feb 2015 at 4:02