continueRequest

suspend fun continueRequest(args: Fetch.ContinueRequestParameter, mode: CommandMode = CommandMode.DEFAULT)

Continues the request, optionally modifying some of its parameters.


suspend fun continueRequest(requestId: String, url: String? = null, method: String? = null, postData: String? = null, headers: List<Fetch.HeaderEntry>? = null, interceptResponse: Boolean? = null)

Continues the request, optionally modifying some of its parameters.

Parameters

requestId

An id the client received in requestPaused event.

url

If set, the request url will be modified in a way that's not observable by page.

method

If set, the request method is overridden.

postData

If set, overrides the post data in the request. (Encoded as a base64 string when passed over JSON)

headers

If set, overrides the request headers. Note that the overrides do not extend to subsequent redirect hops, if a redirect happens. Another override may be applied to a different request produced by a redirect.

interceptResponse

If set, overrides response interception behavior for this request.