QueryOptions 接口
🌐 QueryOptions interface
语法
🌐 Signature
export interface QueryOptions
属性
🌐 Properties
属性 🌐 Property | 修饰符 🌐 Modifiers | 类型 🌐 Type | 描述 🌐 Description | 默认 🌐 Default |
|---|---|---|---|---|
| isolate | boolean | 是否在隔离环境中运行查询。当从 Page.$$() 或类似方法返回许多元素时,关闭隔离可能有助于提高性能。默认情况下,查询代码将在独立的沙箱环境中执行。 🌐 Whether to run the query in isolation. When returning many elements from Page.$$() or similar methods, it might be useful to turn off the isolation to improve performance. By default, the querying code will be executed in a separate sandbox realm. |
|