getDownloadUrl() 函数
获取用于下载指定浏览器二进制归档的 URL。
该归档与指定的特定平台和构建 ID 绑定。
签名
export declare function getDownloadUrl(
browser: Browser,
platform: BrowserPlatform,
buildId: string,
baseUrl?: string,
): URL;
参数
|
参数 |
类型 |
说明 |
|---|---|---|
|
browser | ||
|
platform | ||
|
buildId |
string | |
|
baseUrl |
string |
(可选) |
返回值:
URL