Menu
Open source

size()

Similar to Playwright’s request.sizes(), this method returns the size (in bytes) of body and header sections of the Request.

Returns

TypeDescription
object{ body: <bytes>, headers: <bytes> }