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

Fix: Incorrect page size on screenshot in full-page mode in Chrome headless(closes #5961) #7054

Merged
merged 7 commits into from
Nov 2, 2022

Conversation

Artem-Babich
Copy link
Contributor

@Artem-Babich Artem-Babich commented May 26, 2022

Purpose

For some reason in chrome:headless page body size is set incorrectly.

Approach

Update devtools-protocol package and use the native screenshot approach.

References

Closes #5961
Closes #7224

Pre-Merge TODO

  • Write tests for your proposed changes
  • Make sure that existing tests do not fail

@Artem-Babich Artem-Babich temporarily deployed to CI May 26, 2022 19:32 Inactive
@AndreyBelym AndreyBelym temporarily deployed to CI July 27, 2022 08:12 Inactive
@AndreyBelym AndreyBelym temporarily deployed to CI October 26, 2022 11:25 Inactive
@Aleksey28 Aleksey28 temporarily deployed to CI October 27, 2022 08:26 Inactive
@Aleksey28 Aleksey28 temporarily deployed to CI October 28, 2022 09:47 Inactive
@AndreyBelym
Copy link
Contributor

Excellent job!

@AndreyBelym AndreyBelym merged commit 89eecab into DevExpress:master Nov 2, 2022
@github-actions
Copy link

github-actions bot commented Nov 3, 2022

Release v2.1.0-rc.1 addresses this.

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.

Unable to take screenshots in headless mode takeScreenshot with fullpage: true is not working as expected
3 participants