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.

Fix waitForRunToFinish docs [skip ci]

Ondra Urban6fcaff1065e8
diff --git a/src/utils.js b/src/utils.js
index d4666df03..e0b42931c 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -746,6 +746,7 @@ export const parseContentTypeFromResponse = (response) => {
* E.g. you can track other users' runs.
* @returns {Promise<ActorRun>}
* @memberOf utils
+ * @name waitForRunToFinish
* @function
*/
export const waitForRunToFinish = async (options) => {