Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screenshot cuts off footer of the page #2935

Closed
petarthewizard opened this issue Jul 22, 2018 · 2 comments
Closed

Screenshot cuts off footer of the page #2935

petarthewizard opened this issue Jul 22, 2018 · 2 comments
Labels
chromium Issues with Puppeteer-Chromium

Comments

@petarthewizard
Copy link

petarthewizard commented Jul 22, 2018

Steps to reproduce

install pupputeer-screenshots npm package and create file with this:

require('puppeteer-screenshots').init();

then run the following command:

node puppeteer-screehots-init.js --url=http://bbc.com --mobile=true --userAgent="Mozilla/5.0%20(Linux;%20Android%205.1;%20XT1039%20Build/LPBS23.13-17.6-1)%20AppleWebKit/537.36%20(KHTML,%20like%20Gecko)%20Chrome/60.0.3112.116%20Mobile%20Safari/537.36"

this will create a file image.png which a screenshot of the BBC website but the footer should cut off/not fully there. Any ideas?

  • Puppeteer version: 1.6.0
  • Platform / OS version: Ubuntu 16.04
  • URLs (if applicable): http://bbc.com
  • Node.js version: 8.7.0

What is the expected result?
Full page screenshot

What happens instead?
Partial screenshot

@aslushnikov aslushnikov added the chromium Issues with Puppeteer-Chromium label Dec 6, 2018
@RamakrishnaChilaka
Copy link

Any update ?

@mathiasbynens
Copy link
Member

Try Puppeteer v2.0.0: https://github.com/GoogleChrome/puppeteer/releases/tag/v2.0.0 Also see #5080.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chromium Issues with Puppeteer-Chromium
Projects
None yet
Development

No branches or pull requests

4 participants