跳至主要内容
版本: 22.5.0

executablePath() 函数

签名:

executablePath: (
channel?:
| import('puppeteer-core/internal/puppeteer-core.js').ChromeReleaseChannel
| undefined
) => string;

参数

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

返回值

字符串