update add --el

This commit is contained in:
Vladimir Carrer 2018-12-04 16:57:54 +01:00
parent cf98f37284
commit b7a530e575
3 changed files with 3 additions and 1 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -29,6 +29,7 @@ Parameters:
--w - width of the Web Page in px
--h - height of the Web Page in px
--waitfor - wait time for the page load in milliseconds
--el - css selector document.querySelector
<p>
@ -49,6 +50,7 @@ screenshoteer --url https://lobste.rs --pdf
screenshoteer --url https://lobste.rs --w 500
screenshoteer --url https://news.ycombinator.com/item?id=18598672 --el ".fatitem"
```
<p> List of of supported mobile devices: https://github.com/GoogleChrome/puppeteer/blob/master/DeviceDescriptors.js

View File

@ -1,6 +1,6 @@
{
"name": "screenshoteer",
"version": "1.0.1",
"version": "1.0.2",
"description": "Make screenshots and device emulations form your terminal",
"main": "index.js",
"scripts": {