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
Fixing tests
Marek Trunkatb759fe18ab4b
diff --git a/test/autoscaling/snapshotter.js b/test/autoscaling/snapshotter.jsindex 24976b638..0e52af2ad 100644--- a/test/autoscaling/snapshotter.js+++ b/test/autoscaling/snapshotter.js@@ -145,9 +145,9 @@ describe('Snapshotter', () => {const snapshotter = new Snapshotter(options);await snapshotter.start();- await Apify.utils.sleep(199);+ await Apify.utils.sleep(250);snapshotter.maxMemoryBytes = toBytes(1000); // Override memory to get an OK reading.- await Apify.utils.sleep(199);+ await Apify.utils.sleep(250);await snapshotter.stop();const memorySnapshots = snapshotter.getMemorySample();