跳至主要内容
版本: 22.5.0

connect() 函数

签名:

connect: (
options: import('puppeteer-core/internal/puppeteer-core.js').ConnectOptions
) => Promise<import('puppeteer-core/internal/puppeteer-core.js').Browser>;

参数

参数类型描述
optionsimport("puppeteer-core/internal/puppeteer-core.js").ConnectOptions

返回值

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