mirror of
https://github.com/vladocar/screenshoteer.git
synced 2024-09-28 14:11:33 +02:00
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
|
||||
--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
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user