跳至主要内容
版本:22.5.0

launch() 函数

签名:

launch: (
options?:
| import('puppeteer-core/internal/puppeteer-core.js').PuppeteerLaunchOptions
| undefined
) => Promise<import('puppeteer-core/internal/puppeteer-core.js').Browser>;

参数

参数类型描述
选项import("puppeteer-core/internal/puppeteer-core.js").PuppeteerLaunchOptions | undefined(可选)

返回

Promise<import("puppeteer-core/internal/puppeteer-core.js").Browser>