Socket
Socket
Sign inDemoInstall

capture-website

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capture-website - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

index.js

@@ -158,2 +158,6 @@ 'use strict';

if (options.clickElement) {
await page.click(options.clickElement);
}
const getInjectKey = (ext, value) => isUrl(value) ? 'url' : value.endsWith(`.${ext}`) ? 'path' : 'content';

@@ -160,0 +164,0 @@

2

package.json
{
"name": "capture-website",
"version": "0.2.0",
"version": "0.2.1",
"description": "Capture screenshots of websites",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -201,2 +201,8 @@ # capture-website [![Build Status](https://travis-ci.com/sindresorhus/capture-website.svg?branch=master)](https://travis-ci.com/sindresorhus/capture-website)

##### clickElement
Type: `string`
Click the DOM element matching the given [CSS selector](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors).
##### modules

@@ -203,0 +209,0 @@

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