diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..f1c9214 Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index 7f94541..760d500 100644 --- a/README.md +++ b/README.md @@ -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

@@ -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" ```

List of of supported mobile devices: https://github.com/GoogleChrome/puppeteer/blob/master/DeviceDescriptors.js diff --git a/package.json b/package.json index 989e147..f419f21 100644 --- a/package.json +++ b/package.json @@ -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": {