ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

ChromeDriver2 take screenshot is not full page #294

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In version 2 ChromeDriver started making a screenshot is not the whole page, 
but only part of it.
Here is some code (the result in Attach)

-------------------
from pyvirtualdisplay import Display
from selenium import webdriver
from threading import Timer

display = Display(visible=0, size=(1200, 800))
display.start()

chromeOps = webdriver.ChromeOptions()
chromeOps._binary_location = "/usr/bin/google-chrome"

driver = webdriver.Chrome('../chromedriver2', port=4445, 
chrome_options=chromeOps) # Optional argument, if not specified will search 
path. 
driver.get('http://trinixy.ru')
driver.save_screenshot('screenie.png')
driver.quit()
display.stop()
-------------------

ChromeDriver = 2 (r191457)
Chrome = Google Chrome 26.0.1410.43 
OS = Debian and Ubuntu

Original issue reported on code.google.com by jiexa....@gmail.com on 31 Mar 2013 at 8:38

Attachments:

GoogleCodeExporter commented 9 years ago
Oh man, this is a shame.

Original comment by chrismas...@gmail.com on 6 Nov 2014 at 4:33

GoogleCodeExporter commented 9 years ago
Testing on Chrome is useless until this gets fixed.

Original comment by hardy....@gmail.com on 11 Nov 2014 at 5:19

GoogleCodeExporter commented 9 years ago
Since this is a completely different behavious as with firefox I cannot use 
this feature as a test means. Additionally there seems to be no reliable way to 
work around this with many variable height pages in our test setup.

So, +1 again, to fix this.

Original comment by m.art...@u7.eu on 21 Nov 2014 at 2:39

GoogleCodeExporter commented 9 years ago
First of all, I love chrome, I love selenium, love all you developers...
Would you please help to fix this little issue as soon as you can????

Original comment by saph...@gmail.com on 9 Jan 2015 at 2:07

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:19

GoogleCodeExporter commented 9 years ago
Please guys help us to use the scripts already created. It would cause lot of 
rework. This let us down on going for open source items in the future. Please 
help

Original comment by sun.sund...@gmail.com on 6 Mar 2015 at 6:45

GoogleCodeExporter commented 9 years ago
I am able to capture the entire page screenshot using Java and C#

Original comment by venkates...@gmail.com on 16 Mar 2015 at 6:51