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
test: try to fix flaky test
Martin Adámek926be5735c81
diff --git a/test/autoscaling/snapshotter.test.js b/test/autoscaling/snapshotter.test.jsindex 7acd81780..d1ee99786 100644--- a/test/autoscaling/snapshotter.test.js+++ b/test/autoscaling/snapshotter.test.js@@ -88,7 +88,7 @@ describe('Snapshotter', () => {};const snapshotter = new Snapshotter(options);await snapshotter.start();- await new Promise((resolve) => setTimeout(resolve, 500));+ await new Promise((resolve) => setTimeout(resolve, 510));await snapshotter.stop();// const memorySnapshots = snapshotter.getMemorySample();const eventLoopSnapshots = snapshotter.getEventLoopSample();