docs(api.md): expand puppeteer-core explanation (#3830)

This commit is contained in:
Denny 2019-01-22 22:25:14 -06:00 committed by Andrey Lushnikov
parent fb710120e9
commit 7585e6db9e

View File

@ -357,6 +357,7 @@ When using `puppeteer-core`, remember to change the *include* line:
const puppeteer = require('puppeteer-core'); const puppeteer = require('puppeteer-core');
``` ```
You will then need to call [`puppeteer.connect([options])`](#puppeteerconnectoptions) or [`puppeteer.launch([options])`](#puppeteerlaunchoptions) with an explicit `executablePath` option.
### Environment Variables ### Environment Variables