Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

screenblob

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

screenblob

A lightweight Node.js library for capturing screenshots of websites.

  • 2.1.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Screenblob

Screenblob is a lightweight Node.js library for capturing screenshots of web pages. It does not rely on heavy libraries like Puppeteer or Playwright, making it a streamlined option for your screenshot needs. This library uses Selenium WebDriver with Chrome for capturing screenshots, offering flexibility in screenshot formats and sizes.

Features

Capture screenshots of entire pages or specific elements Support for different image formats: PNG and JPEG Adjustable screenshot quality Options for viewport size, delay, and hiding scrollbars Installation To install screenblob, you can use npm:

npm install -g screenblob

or

npm install screenblob

Options:

--url (required): URL of the page to capture. --output: Output file path without extension. Default is screenshot. --format: Image format, either png or jpeg. Default is png. --quality: Image quality for JPEG format, from 0 to 100. Default is 80. --width: Browser window width. Default is 1920. --height: Browser window height. Default is 1080. --delay: Delay before taking the screenshot, in milliseconds. Default is 0. --selector: CSS selector to wait for before taking the screenshot. --fullpage: Capture a full page screenshot. --hideScrollbars: Hide scrollbars in the screenshot.

Keywords

FAQs

Package last updated on 12 Aug 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc