Minimize and Maximize Puppeteer Browsers!
This is a plugin for puppeteer-extra that allows you to minimize and maximize puppeteer browsers in real time.
Install
yarn add puppeteer-extra-plugin-minmax
Usage
const puppeteer = ;puppeteer; { const browser = await puppeteer; const page = await browser; await page; await page; await browser; console;} ;
The key lines here are page.minimize()
and page.maximize()
. These minimize and maximize the page respectively.