Puppeteer 中文文档v25.8.0

getInstalledBrowsers() 函数

返回缓存目录中已安装浏览器的元数据。

签名

export declare function getInstalledBrowsers(
  options: GetInstalledBrowsersOptions,
): Promise<InstalledBrowser[]>;

参数

参数

类型

说明

options

GetInstalledBrowsersOptions

返回值:

Promise<InstalledBrowser[]>