How I Automated Firefox Extension Screenshots for AMO Listings One of the most tedious parts of publishing to Mozilla's Add-On Observatory (AMO) is creating consistent, high-quality screenshots. After publishing the Weather & Clock Dashboard extension, I wanted a repeatable process for capturing screenshots automatically. The Challenge AMO requires screenshots in specific dimensions (typically 1280×800 or similar), and they need to look polished — not rushed screenshots taken on whatever monitor you happen to be using. The Solution: Playwright for Automated Screenshots Playwright (or Puppeteer) makes this trivially easy once you have the right setup: const { chromium } = require ( ' playwright ' ); const path = require ( ' path ' ); async function captureExtensionScreenshots () { const browser = await chromium . launch (); const context = await browser .…