Skip to main content Link Menu Expand (external link) Document Search Copy Copied


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.