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.

chore: try to increase timeout for launching playwright

Martin Adámek35257c111c4d
diff --git a/test/browser_launchers/playwright_launcher.test.js b/test/browser_launchers/playwright_launcher.test.js
index 0d8d5343c..6044f2bca 100644
--- a/test/browser_launchers/playwright_launcher.test.js
+++ b/test/browser_launchers/playwright_launcher.test.js
@@ -112,7 +112,7 @@ describe('Apify.launchPlaywright()', () => {
beforeEach(async () => {
browser = await Apify.launchPlaywright({
- launchOptions: { headless: true },
+ launchOptions: { headless: true, timeout: 60e3 },
proxyUrl: `http://username:[email protected]:${proxyPort}`,
});
});