mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
752 B
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.