Skip to content

webshot2 0.1.2

Latest

Choose a tag to compare

@gadenbuie gadenbuie released this 24 Apr 02:11
d047d87
  • Updated the documentation for webshot() to clarify that expand only applies to the clipping rectangle determined by selector. (#68)

  • webshot() now rounds vwidth and vheight to the nearest integer to match Chrome's expectations. If this behavior is somehow problematic, you can use vwidth = 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 when vwidth and vheight are used. This change improves compatibility with recent versions of Chrome (>= v132). (#72)