Uses of Class
org.openqa.selenium.devtools.fetch.model.RequestId
-
Packages that use RequestId Package Description org.openqa.selenium.devtools.fetch org.openqa.selenium.devtools.fetch.model -
-
Uses of RequestId in org.openqa.selenium.devtools.fetch
Methods in org.openqa.selenium.devtools.fetch with parameters of type RequestId Modifier and Type Method Description static Command<java.lang.Void>
Fetch. continueRequest(RequestId requestId, java.util.Optional<java.lang.String> url, java.util.Optional<java.lang.String> method, java.util.Optional<java.lang.String> postData, java.util.Optional<java.util.List<HeaderEntry>> headers)
Continues the request, optionally modifying some of its parameters.static Command<java.lang.Void>
Fetch. continueWithAuth(RequestId requestId, AuthChallengeResponse authChallengeResponse)
Continues a request supplying authChallengeResponse following authRequired event.static Command<java.lang.Void>
Fetch. failRequest(RequestId requestId, ErrorReason errorReason)
Causes the request to fail with specified reason.static Command<java.lang.Void>
Fetch. fulfillRequest(RequestId requestId, java.lang.Integer responseCode, java.util.List<HeaderEntry> responseHeaders, java.util.Optional<java.lang.String> body, java.util.Optional<java.lang.String> responsePhrase)
Provides response to the request.static Command<Fetch.GetResponseBodyResponse>
Fetch. getResponseBody(RequestId requestId)
Causes the body of the response to be received from the server and returned as a single string.static Command<StreamHandle>
Fetch. takeResponseBodyAsStream(RequestId requestId)
Returns a handle to the stream representing the response body. -
Uses of RequestId in org.openqa.selenium.devtools.fetch.model
Methods in org.openqa.selenium.devtools.fetch.model that return RequestId Modifier and Type Method Description RequestId
RequestPaused. getNetworkId()
If the intercepted request had a corresponding Network.requestWillBeSent event fired for it, then this networkId will be the same as the requestId present in the requestWillBeSent event.RequestId
AuthRequired. getRequestId()
Each request the page makes will have a unique id.RequestId
RequestPaused. getRequestId()
Each request the page makes will have a unique id.Constructors in org.openqa.selenium.devtools.fetch.model with parameters of type RequestId Constructor Description AuthRequired(RequestId requestId, Request request, FrameId frameId, ResourceType resourceType, AuthChallenge authChallenge)
RequestPaused(RequestId requestId, Request request, FrameId frameId, ResourceType resourceType, ErrorReason responseErrorReason, java.lang.Integer responseStatusCode, java.util.List<HeaderEntry> responseHeaders, RequestId networkId)
-