FrameWaitForFunctionOptions 接口
🌐 FrameWaitForFunctionOptions interface
语法
🌐 Signature
export interface FrameWaitForFunctionOptions
属性
🌐 Properties
属性 🌐 Property | 修饰符 🌐 Modifiers | 类型 🌐 Type | 描述 🌐 Description | 默认 🌐 Default |
|---|---|---|---|---|
| polling |
| 'raf' | 'mutation' | number | 执行 🌐 An interval at which the
| |
| signal |
| AbortSignal | 允许你取消 waitForFunction 调用的信号对象。 🌐 A signal object that allows you to cancel a waitForFunction call. | |
| timeout |
| number | 等待的最长时间,以毫秒为单位。默认值为 🌐 Maximum time to wait in milliseconds. Defaults to |