Changelog
Source:NEWS.md
    webshot2 0.1.2
CRAN release: 2025-04-23
Updated the documentation for
webshot()to clarify thatexpandonly applies to the clipping rectangle determined byselector. (#68)webshot()now roundsvwidthandvheightto the nearest integer to match Chrome’s expectations. If this behavior is somehow problematic, you can usevwidth = I(my_width)to avoid the conversion. (#70)webshot()now surfaces errors that occur when working with the lower-level screenshot API provided by Chrome via chromote. (#69)webshot()works harder to set the size of the virtual viewport whenvwidthandvheightare used. This change improves compatibility with recent versions of Chrome (>= v132). (#72)
webshot2 0.1.1
CRAN release: 2023-08-11
webshot()now supports JPEG (.jpgor.jpeg) and WEBP (.webp) image formats. (@trafficonese #45)Fixed #52:
rmdshot()did not work when used to screenshot an R Markdown document withruntime: shinyorruntime: shinyrmd. (#53)Fixed #24: Console messages from
webshot()can now be suppressed by settingquiet = TRUEor using thewebshot.quietglobal option. (@trafficonese #45)