Skip to content

Save screenshots

saveScreenshot

The saveScreenshot action captures a PNG of the current viewport. If an image with the same name and dimensions exists, it can also perform pixel diffs and capture updated screenshots for debugging or media updating purposes.

For comprehensive options, see the saveScreenshot reference.