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.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
fix: increase timeout for retiring inactive browsers (#2523)
Martin Adámek195f1766a032
diff --git a/packages/browser-pool/src/browser-pool.ts b/packages/browser-pool/src/browser-pool.tsindex 7b4253cdf..b69502f2d 100644--- a/packages/browser-pool/src/browser-pool.ts+++ b/packages/browser-pool/src/browser-pool.ts@@ -364,7 +364,7 @@ export class BrowserPool<retireBrowserAfterPageCount = 100,operationTimeoutSecs = 15,closeInactiveBrowserAfterSecs = 300,- retireInactiveBrowserAfterSecs = 1,+ retireInactiveBrowserAfterSecs = 10,preLaunchHooks = [],postLaunchHooks = [],prePageCreateHooks = [],