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

update the screenshot funcs to match the behavior of chrome commands #1221

Merged
merged 1 commit into from Jan 9, 2023

Conversation

ZekeLu
Copy link
Member

@ZekeLu ZekeLu commented Dec 12, 2022

Fixes #1220.

@ZekeLu
Copy link
Member Author

ZekeLu commented Dec 12, 2022

Here are the chrome commands:

image

It seems that the behavior changed in Chrome 108.

@ZekeLu
Copy link
Member Author

ZekeLu commented Dec 12, 2022

The test failed because it tests with chromedp/headless-shell:latest, which is chromedp/headless-shell:107.0.5304.107 as of now.

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.

Cepture screenshot returns full height screenshot instead of viewport height
1 participant