getDownloadUrl() 函数
¥getDownloadUrl() function
检索用于下载指定浏览器二进制存档的 URL。
¥Retrieves a URL for downloading the binary archive of a given browser.
存档与指定的特定平台和版本 ID 绑定。
¥The archive is bound to the specific platform and build ID specified.
签名
¥Signature
export declare function getDownloadUrl(
browser: Browser,
platform: BrowserPlatform,
buildId: string,
baseUrl?: string,
): URL;
参数
¥Parameters
范围 | 类型 | 描述 |
---|---|---|
browser | ||
platform | ||
buildId | string | |
baseUrl | string | (可选的) |
Returns:
URL