
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
puppeteer-screenshot-cli
Advanced tools
Simple wrapper around Puppeteer to take screenshot from command line
Simple wrapper around Puppeteer to take screenshot from command line.
npm i [-g] puppeteer-screenshot-cli
puppeteer-screenshot --url 'http://perdu.com' --selector 'h1' --output ./perdu.jpg
puppeteer-screenshot -u 'http://perdu.com' -s 'body' -o - > /tmp/perdu.jpg
puppeteer-screenshot 'http://perdu.com' > perdu.jpg
Headless screenshot with Puppeteer
-u, --url string URL to navigate page to. The url should include scheme, e.g. https://.
-o, --output string The file path to save the image to. If path is a relative path, then it is
resolved relative to current working directory. If no path is provided, the
image won't be saved to the disk.
-s, --selector string A CSS selector of an element to wait for.
Default: body
-t, --type string Specify screenshot type, can be either jpeg or png.
Default: png
-q, --quality number The quality of the image, between 0-100. Not applicable to png images.
-w, --width number Viewport width in pixels
Default: 800
-h, --height number Viewport height in pixels
Default: 600
--timeout number Maximum time to wait for in milliseconds.
Default: 30000
-f, --fullPage When true, takes a screenshot of the full scrollable page.
Defaults: false.
--headless Whether to run browser in headless mode.
Default: true
-?, --help This help
FAQs
Simple wrapper around Puppeteer to take screenshot from command line
The npm package puppeteer-screenshot-cli receives a total of 6 weekly downloads. As such, puppeteer-screenshot-cli popularity was classified as not popular.
We found that puppeteer-screenshot-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.