puppeteer/new-docs/puppeteer.httprequest.resourcetype.md
Jack Franklin f7857d27c4
chore(docs): document HTTPRequest with TSDoc (#6146)
* chore(docs): document HTTPRequest with TSDoc

* doclint

* example
2020-07-03 14:28:45 +01:00

752 B

Home > puppeteer > HTTPRequest > resourceType

HTTPRequest.resourceType() method

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

Signature:

resourceType(): string;

Returns:

string

one of the following: document, stylesheet, image, media, font, script, texttrack, xhr, fetch, eventsource, websocket, manifest, other.

Remarks