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.

chore: fix typo in background.js (#1487)

Ikko Ashimine7eb619774f8b
diff --git a/packages/browser-pool/tab-as-a-container/background.js b/packages/browser-pool/tab-as-a-container/background.js
index f0d078c37..42e25f06c 100644
--- a/packages/browser-pool/tab-as-a-container/background.js
+++ b/packages/browser-pool/tab-as-a-container/background.js
@@ -43,7 +43,7 @@ const getCookieURL = (cookie) => {
return url;
};
-// Rewrite cookies that were programatically set to tabId instead of openerId.
+// Rewrite cookies that were programmatically set to tabId instead of openerId.
// This is requried because we cannot reliably get openerId inside Playwright.
chrome.cookies.onChanged.addListener(async (changeInfo) => {
if (!changeInfo.removed) {