puppeteer-html-image
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "puppeteer-html-image", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -28,3 +28,3 @@ import { Cluster } from "puppeteer-cluster"; | ||
// Select the specific element you want to capture | ||
const element = await page.$(".container"); | ||
const element = await page.$("body"); | ||
if (element) { | ||
@@ -31,0 +31,0 @@ // Get the bounding box of the element |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13807