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

allow JPG / JPEG, add verbose argument #45

Merged
merged 6 commits into from
Aug 10, 2023
Merged

Conversation

trafficonese
Copy link
Contributor

fixes #44, fixes #24

Copy link
Member

@gadenbuie gadenbuie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @trafficonese! I left a few comments below, primarily around the naming of the new argument -- I'd prefer quiet instead of verbose in this case.

What do you think about adding .webp to the list of supported screenshot file types as well? https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-captureScreenshot

R/webshot.R Outdated Show resolved Hide resolved
R/webshot.R Outdated Show resolved Hide resolved
R/webshot.R Outdated Show resolved Hide resolved
R/webshot.R Outdated Show resolved Hide resolved
R/webshot.R Outdated Show resolved Hide resolved
R/webshot.R Outdated Show resolved Hide resolved
@CLAassistant
Copy link

CLAassistant commented Aug 9, 2023

CLA assistant check
All committers have signed the CLA.

@gadenbuie gadenbuie requested review from wch and cpsievert August 9, 2023 13:59
@gadenbuie
Copy link
Member

@trafficonese Thank you for this PR! I'd like to get this into the next release of webshot2, so I went ahead and finished up the PR. Can you please sign the Contributor License Agreement so that we can accept this PR? Thank you!

@wch @cpsievert Would you mind giving this PR a quick review?

@wch wch merged commit ad8714d into rstudio:main Aug 10, 2023
@gadenbuie
Copy link
Member

Thanks @trafficonese!

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.

Allow filetype = "jpg" in new_session_screenshot Add argument to suppress "screenshot completed" messages
4 participants