From 1996ff0dff9bba2ddc78ea151f55191ebad686be Mon Sep 17 00:00:00 2001 From: Pavel Malitov Date: Thu, 6 Dec 2018 12:49:21 +0200 Subject: [PATCH] Updated readme --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 760d500..d0fb030 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Parameters: --h - height of the Web Page in px --waitfor - wait time for the page load in milliseconds --el - css selector document.querySelector +--auth - basic http authentication

@@ -52,6 +53,8 @@ screenshoteer --url https://lobste.rs --w 500 screenshoteer --url https://news.ycombinator.com/item?id=18598672 --el ".fatitem" +screenshoteer --url https:/site.com --auth username:password + ```

List of of supported mobile devices: https://github.com/GoogleChrome/puppeteer/blob/master/DeviceDescriptors.js