MCPcopy
hub / github.com/yujiosaka/headless-chrome-crawler / launch

Method launch

lib/hccrawler.js:79–84  ·  view source on GitHub ↗

* @param {!Object=} options * @return {!Promise<!HCCrawler>}

(options)

Source from the content-addressed store, hash-verified

77 * @return {!Promise<!HCCrawler>}
78 */
79 static async launch(options) {
80 const browser = await Puppeteer.launch(pick(options, LAUNCH_OPTIONS));
81 const crawler = new HCCrawler(browser, omit(options, LAUNCH_OPTIONS));
82 await crawler.init();
83 return crawler;
84 }
85
86 /**
87 * @return {!string}

Callers 13

redis.test.jsFile · 0.80
index.test.jsFile · 0.80
pause-resume.jsFile · 0.80
emulate-device.jsFile · 0.80
csv-exporter.jsFile · 0.80
priority-queue.jsFile · 0.80
custom-cache.jsFile · 0.80
custom-crawl.jsFile · 0.80
launchFunction · 0.80
custom-exporter.jsFile · 0.80

Calls 1

initMethod · 0.95

Tested by

no test coverage detected