puppeteer/docs/api/puppeteer.httprequest.resourcetype.md
2022-07-01 13:34:41 +02:00

316 B

sidebar_label
HTTPRequest.resourceType

HTTPRequest.resourceType() method

Contains the request's resource type as it was perceived by the rendering engine.

Signature:

class HTTPRequest {
  resourceType(): ResourceType;
}

Returns:

ResourceType