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.

Updating tests - removing useRawBody param

Marek Trunkat299941dc97ed
diff --git a/test/actor.js b/test/actor.js
index 2812ed6eb..456ac4ab9 100644
--- a/test/actor.js
+++ b/test/actor.js
@@ -614,7 +614,6 @@ describe('Apify.setValue()', () => {
key,
body: JSON.stringify(value, null, 2),
contentType: 'application/json',
- useRawBody: true,
})
.returns(Promise.resolve(null));
@@ -650,7 +649,6 @@ describe('Apify.setValue()', () => {
key,
body: value,
contentType,
- useRawBody: true,
})
.returns(Promise.resolve(null));
@@ -686,7 +684,6 @@ describe('Apify.setValue()', () => {
key,
body: value,
contentType,
- useRawBody: true,
})
.returns(Promise.resolve(null));