zinserjan / wdio-screenshot

A WebdriverIO plugin. Additional commands for taking screenshots with WebdriverIO.
MIT License
109 stars 43 forks source link

Added skipPageHeightSetter option to circumvent #25 #83

Open jankcat opened 6 years ago

jankcat commented 6 years ago

I was seeing some weird issues on pages, and commenting out the pageHeight command seemed to solve it.

Example page: https://www.mcdonalds.com/us/en-us.html On this example page, the entire footer would disappear when run on Chrome-Windows 10-Latest Commenting out the pageHeight command stopped the issue, but brings the whitespace back to the bottom of the page, which is a compromise worth having in order to capture the footer.