Puppeteer: page.screenshot scrollbar artifacts

Created on 10 Jul 2017  ·  3Comments  ·  Source: puppeteer/puppeteer

Hey,

I noticed that when taking a full page screenshot, we can see random scrollbar artifacts.

Is there a chance that this is related to Emulation.setVisibleSize?

image

image

Most helpful comment

FWIW the --hide-scrollbars flag exists for headless mode (and ONLY headless mode).
but I guess it'll at least hide the problem for now. :)

All 3 comments

That's definitely a bug.

@pavelfeldman is doing a heavy rewrite of screenshotting functionality deep inside chromium. I'd expect things to change a lot, so we'll revisit this bug as he's done.

FWIW the --hide-scrollbars flag exists for headless mode (and ONLY headless mode).
but I guess it'll at least hide the problem for now. :)

@aslushnikov @paulirish is there any way to hide the scrollbar in also visual mode?
Its creation discrepancy and can be confusing when try to run test visually instead.

Any help will be appreciated thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

denniscieri picture denniscieri  ·  3Comments

sradu picture sradu  ·  3Comments

historylife picture historylife  ·  3Comments

vonGameTheory picture vonGameTheory  ·  3Comments

ryanvincent29 picture ryanvincent29  ·  3Comments