Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

fix: allow `label` in `enqueueLinksByClickingElements` options (#1525)

Minu Palaniappan18b7c25592ea
diff --git a/packages/puppeteer-crawler/src/internals/enqueue-links/click-elements.ts b/packages/puppeteer-crawler/src/internals/enqueue-links/click-elements.ts
index adc677cb9..49be582be 100644
--- a/packages/puppeteer-crawler/src/internals/enqueue-links/click-elements.ts
+++ b/packages/puppeteer-crawler/src/internals/enqueue-links/click-elements.ts
@@ -224,6 +224,7 @@ export async function enqueueLinksByClickingElements(options: EnqueueLinksByClic
transformRequestFunction: ow.optional.function,
waitForPageIdleSecs: ow.optional.number,
maxWaitForPageIdleSecs: ow.optional.number,
+ label: ow.optional.string,
}));
const {