Puppeteer 中文文档v25.8.0

HTTPRequest.interceptResolutionState() 方法

描述当前解析动作(action)和优先级(priority)的 InterceptResolutionState 对象。

InterceptResolutionState 包含:action: InterceptResolutionAction priority?: number

InterceptResolutionAction 是以下值之一:abortrespondcontinuedisablednonealready-handled

签名

class HTTPRequest {
  interceptResolutionState(): InterceptResolutionState;
}

返回值:

InterceptResolutionState