Download a image (must be a data url).
The data url of the image
The filename of the image
const dataUrl = screenshot();saveImage(dataUrl, "screenshot.png"); Copy
const dataUrl = screenshot();saveImage(dataUrl, "screenshot.png");
Generated using TypeDoc
Download a image (must be a data url).