Version: M49
OS: Linux
What steps will reproduce the problem?
(1) Download and install Selenium and ChromeDriver
(2) Download min.py from attachment
(3) Run this command:
PATH=$PATH:/path/to/dir/containing/chromedriver ./min.py
What is the expected output?
{u'width': 1000, u'height': 500}
{u'width': 1000, u'height': 500}
What do you see instead?
{u'width': 1000, u'height': 500}
{u'width': 945, u'height': 1144}
---
Main snippet in min.py:
def main(argv):
driver = webdriver.Chrome()
driver.set_window_size(1000, 500)
print driver.get_window_size() # {u'width': 1000, u'height': 500}
driver.get("http://google.com")
driver.set_window_size(1000, 500)
print driver.get_window_size() # {u'width': 945, u'height': 1144}
|
Deleted:
min.py
417 bytes
|
Comment 1 by wychen@chromium.org
, Apr 8 2016