BrowserContextOptions 接口
🌐 BrowserContextOptions interface
语法
🌐 Signature
export interface BrowserContextOptions
属性
🌐 Properties
属性 🌐 Property | 修饰符 🌐 Modifiers | 类型 🌐 Type | 描述 🌐 Description | 默认 🌐 Default |
|---|---|---|---|---|
| downloadBehavior |
| 下载文件时的行为定义。 🌐 Behavior definition for when downloading a file. 附注 如果未设置,将使用默认行为。 🌐 If not set, the default behavior will be used. | ||
| proxyBypassList |
| string[] | 绕过给定主机列表的代理。 🌐 Bypass the proxy for the given list of hosts. | |
| proxyServer |
| string | 代理服务器,可选择端口用于所有请求。用户名和密码可以在 🌐 Proxy server with optional port to use for all requests. Username and password can be set in |