Skip to content

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.

Fixed test

Jaroslav Hejlekde3b972f51d4
diff --git a/test/actor.js b/test/actor.js
index 6f30d0dd6..991fac53b 100644
--- a/test/actor.js
+++ b/test/actor.js
@@ -1054,7 +1054,7 @@ describe('Apify.pushRecord()', () => {
.withArgs({
storeId,
promise: Promise,
- data: JSON.stringify(value, null, 2),
+ data: value,
})
.returns(Promise.resolve(null));