Updated readme

This commit is contained in:
Pavel Malitov 2018-12-06 12:49:21 +02:00
parent 166f6658cb
commit 1996ff0dff

View file

@ -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
<p>
@ -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
```
<p> List of of supported mobile devices: https://github.com/GoogleChrome/puppeteer/blob/master/DeviceDescriptors.js
</p>