Module: screenshooter

Screen shooter add-on.

Summary

Methods

Detailed Description

Methods

shot(formatopt, qualityopt)

Take a screenshot and download as screenshot.png image.
Parameters:
Name Type Attributes Default Description
format string <optional>
"image/png" The MIME image format ("image/png", "image/jpeg", "image/webp" and so on)
quality number <optional>
1.0 Number between 0 and 1 for types: "image/jpeg", "image/webp"
Deprecated
Source:
Example
var m_scrn = require("screenshooter");
m_scrn.shot();