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
typo
Marek Trunkat4342beba4a7e
diff --git a/test/request_queue.js b/test/request_queue.jsindex 25fa68ad2..5fb61e187 100644--- a/test/request_queue.js+++ b/test/request_queue.js@@ -385,6 +385,7 @@ describe('RequestQueue', () => {const queue = new RequestQueue('some-id');const mock = sinon.mock(apifyClient.requestQueues);+ mock.expects('getHead').never();const requestA = new Request({ url: 'http://example.com/a' });@@ -404,7 +405,6 @@ describe('RequestQueue', () => {await queue.addRequest(requestA, { forefront: true });// Try to get requestA which is not available yet.- mock.expects('getHead').never();mock.expects('getRequest').once().withArgs({