Repository navigation
-
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)