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
Improve deprecation message
Ondra Urban8a55f02e86ad
diff --git a/src/puppeteer.js b/src/puppeteer.jsindex 9f0b9a1a4..5b2a8683d 100644--- a/src/puppeteer.js+++ b/src/puppeteer.js@@ -191,8 +191,9 @@ export const launchPuppeteer = async (options = {}) => {checkParamOrThrow(options.puppeteerModule, 'options.puppeteerModule', 'Maybe String');if (options.useApifyProxy && options.proxyUrl) throw new Error('Cannot combine "options.useApifyProxy" with "options.proxyUrl"!');if (options.liveView || options.liveViewOptions) {- log.deprecated('Live view is deprecated in Apify.launchPuppeteer() and launchPuppeteerOptions. '- + 'Use options.useLiveView in PuppeteerPool. For live view with Apify.launchPuppeteer(), use Apify.LiveViewServer.');+ log.deprecated('Live view is no longer available in Apify.launchPuppeteer() and launchPuppeteerOptions. '+ + 'Use options.useLiveView in PuppeteerPool for an updated version. '+ + 'For live view with Apify.launchPuppeteer(), use Apify.LiveViewServer.');}const puppeteer = getPuppeteerOrThrow(options.puppeteerModule);