Puppeteer maximized, adaptive resolution

Puppeteer adaptive resolution can be defaultViewport set to null, the start time or half-screen display, click the maximize button to maximize the display.

Such resolution can be adaptively operating system.

Specifically to see: https: //github.com/GoogleChrome/puppeteer/issues/3688#issuecomment-453218745

Guess you like

Origin www.cnblogs.com/mengff/p/11596083.html