How to use [puppeteer.screenshot]
The reference page of puppeteer.screenshot has its arguments, constraints and declaration.
Saves a screenshot to disk.
Arguments:
- Slot value - Session identifier.
filename- Output file path.full-page- Boolean. Capture full scrollable page.type-pngorjpeg.quality- JPEG quality 0-100 (only forjpeg).
Examples:
puppeteer.screenshot:SESSION_ID
filename:"/etc/tmp/example.png"
full-page:true
puppeteer.screenshot:SESSION_ID
filename:"/etc/tmp/example.jpg"
type:jpeg
quality:85