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
Fixed broken tests
Jan Curnebcc7d99346c
diff --git a/test/request_queue.js b/test/request_queue.jsindex 2b5996b22..1ee87fa99 100644--- a/test/request_queue.js+++ b/test/request_queue.js@@ -227,7 +227,7 @@ describe('RequestQueue', () => {const cTime = info.createdAt.getTime();let mTime = info.modifiedAt.getTime();expect(cTime).to.be.below(Date.now() + 1);- expect(cTime).to.be.eql(mTime);+ expect(cTime).to.be.at.most(mTime);const rf1 = await queue.fetchNextRequest();await queue.markRequestHandled(rf1);