update add --el
This commit is contained in:
parent
cf98f37284
commit
b7a530e575
|
@ -29,6 +29,7 @@ Parameters:
|
||||||
--w - width of the Web Page in px
|
--w - width of the Web Page in px
|
||||||
--h - height of the Web Page in px
|
--h - height of the Web Page in px
|
||||||
--waitfor - wait time for the page load in milliseconds
|
--waitfor - wait time for the page load in milliseconds
|
||||||
|
--el - css selector document.querySelector
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
|
@ -49,6 +50,7 @@ screenshoteer --url https://lobste.rs --pdf
|
||||||
|
|
||||||
screenshoteer --url https://lobste.rs --w 500
|
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
|
<p> List of of supported mobile devices: https://github.com/GoogleChrome/puppeteer/blob/master/DeviceDescriptors.js
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "screenshoteer",
|
"name": "screenshoteer",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"description": "Make screenshots and device emulations form your terminal",
|
"description": "Make screenshots and device emulations form your terminal",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue