Make captureEntirePageScreenshot take screenshot for "entire page"
Make --screenshot-on-fail take "entire page" screenshot. I believe full page screenshot is quite useful for this option.
Add --screenshot-scroll-timeout option to specify scroll timeout while taking screenshot for entire page
I'm not sure if --screenshot-scroll-timeout is necessary or not, because my small tests with latest Firefox, Chrome and IE (with their latest WebDrivers) didn't need this option.
However, as mentioned in Shutterbug's Examples of usage page, there are some environment that need 500 ms of scroll timeout for taking full page screenshot in Chrome. This option will be useful in such a case.
This PR contains following changes:
--screenshot-on-fail
take "entire page" screenshot. I believe full page screenshot is quite useful for this option.--screenshot-scroll-timeout
option to specify scroll timeout while taking screenshot for entire pageI'm not sure if
--screenshot-scroll-timeout
is necessary or not, because my small tests with latest Firefox, Chrome and IE (with their latest WebDrivers) didn't need this option.However, as mentioned in Shutterbug's Examples of usage page, there are some environment that need 500 ms of scroll timeout for taking full page screenshot in Chrome. This option will be useful in such a case.