LaunchPWAOptions 接口
🌐 LaunchPWAOptions interface
[Browser.launchPWA()] 的选项。
🌐 Options for Browser.launchPWA().
语法
🌐 Signature
export interface LaunchPWAOptions
属性
🌐 Properties
|
属性 🌐 Property |
修饰符 🌐 Modifiers |
类型 🌐 Type |
描述 🌐 Description |
默认 🌐 Default |
|---|---|---|---|---|
|
manifestId |
string |
来自网页应用清单文件的 ID。 🌐 The id from the web app's manifest file. | ||
|
timeout |
|
number |
等待应用页面目标出现的最长时间(以毫秒为单位)。默认是30秒。传入 🌐 Maximum time in milliseconds to wait for the app's page target to appear. Defaults to 30 seconds. Pass | |
|
url |
|
string |
应用内可选的 URL,用于启动。默认是应用的起始 URL。 🌐 An optional URL within the app's scope to launch. Defaults to the app's start URL. |