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
chore(e2e): make `playwright-multi-run` more stable (#3042)
Jindřich Bär7ed3167d7441
diff --git a/test/e2e/playwright-multi-run/test.mjs b/test/e2e/playwright-multi-run/test.mjsindex a9b574b72..9e23ade4f 100644--- a/test/e2e/playwright-multi-run/test.mjs+++ b/test/e2e/playwright-multi-run/test.mjs@@ -10,5 +10,5 @@ await initialize(testActorDirname);const { datasetItems } = await runActor(testActorDirname, 16384);// we cant assert number of requests as the stats KVS is being wiped on each `run` call, unlike the dataset-await expect(datasetItems.length > 30, `Number of dataset items (actual: ${datasetItems.length}, expected: > 30)`);+await expect(datasetItems.length >= 30, `Number of dataset items (actual: ${datasetItems.length}, expected: >= 30)`);await expect(validateDataset(datasetItems, ['url', 'pageTitle']), 'Dataset items validation');