How to take screenshot of entire page
When I setCaptureElements('html') it take screenshot only of the visible viewport and remaining gets cropped. How can I capture screenshot of entire page from top to bottom. The pages having varying heights in the range of 4000 - 10000px long.
set image composition option to true in your config
This also doesn't work for me. Nothing gets composed with chrome on OSX. Also the maximum possible height seems to be the screen height.
It's a problem of a web driver, try FF for instance
Am 15.01.2017 11:34 nachm. schrieb "bjoernsteinborn" < [email protected]>:
This also doesn't work for me. Nothing gets composed with chrome on OSX. Also the maximum possible height seems to be the screen height.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gemini-testing/gemini/issues/696#issuecomment-272743460, or mute the thread https://github.com/notifications/unsubscribe-auth/AARkGTjROqxP6cbNO6c7v4Popbtn4LCAks5rSp7ygaJpZM4LRv7z .
I tried FF 45 with same result. I understand that it's an issue with the webdriver but there are solutions for. Webdrivercss for example scrolls through the page as far as i can read from the code and composes the screenshot out of several screenshots. Thats how i understood "screenshotMode": "fullpage" and "compositeImage": true should also work, but they are not. BTW: Has this feature a bug or should it do something else or was it working is now not working anymore because of the webdriver?
Can you be more specific how exactly doesn't it work for you in case of FF and image composition?
Am 16.01.2017 9:07 nachm. schrieb "bjoernsteinborn" < [email protected]>:
I tried FF 45 with same result. I understand that it's an issue with the webdriver but there are solutions for. Webdrivercss for example scrolls through the page as far as i can read from the code and composes the screenshot out of several screenshots. Thats how i understood "screenshotMode": "fullpage" and "compositeImage": true should also work, but they are not. BTW: Has this feature a bug or should it do something else or was it working is now not working anymore because of the webdriver?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gemini-testing/gemini/issues/696#issuecomment-272951437, or mute the thread https://github.com/notifications/unsubscribe-auth/AARkGQBC4RtFn4qQCWIEHud6JbHY1OKQks5rS836gaJpZM4LRv7z .
Why is this still open?
Please see references to code example at: https://github.com/gemini-testing/gemini/issues/740
copied snippet here
browsers: {
chrome: {
desiredCapabilities: {
compositeImage: true,
screenshotMode: 'fullpage',
browserName: 'chrome'
},
}
}
I personally make the height really big when using a headless browser. This can also do the trick.
Please close the ticket.
And thank you all for this AWESOME tool. I've been recommending it to everything since I found it (a year and a half ago). Awesome implementation to an awesome idea. Also loved Hermione.