Skip to content

Conversation

@erickgskovik
Copy link
Contributor

During screenshots, I found the window bounds doesn't change how the screenshot looks like.

And from my simple test for screenshoting a long page around 40000px height, Emulation.setDeviceMetricsOverride (8s) with deviceScaleFactor is faster than scale in Page.captureScreenshot (12s).

Fixes #389.

@route
Copy link
Member

route commented Sep 26, 2023

Looking good, thx!

@route route merged commit 020bd25 into rubycdp:main Sep 26, 2023
@erickgskovik erickgskovik deleted the support-set-viewport branch September 26, 2023 17:57
@erickgskovik
Copy link
Contributor Author

Thanks! I have last one for #screenshot that I need some time to work on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send Emulation commands to Page

2 participants