Class RequestWillBeSentExtraInfo

java.lang.Object
org.openqa.selenium.devtools.v85.network.model.RequestWillBeSentExtraInfo

@Beta public class RequestWillBeSentExtraInfo extends Object
Fired when additional information about a requestWillBeSent event is available from the network stack. Not every requestWillBeSent event will have an additional requestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent or requestWillBeSentExtraInfo will be fired first for the same request.
  • Constructor Details

  • Method Details

    • getRequestId

      public RequestId getRequestId()
      Request identifier. Used to match this information to an existing requestWillBeSent event.
    • getAssociatedCookies

      public List<BlockedCookieWithReason> getAssociatedCookies()
      A list of cookies potentially associated to the requested URL. This includes both cookies sent with the request and the ones not sent; the latter are distinguished by having blockedReason field set.
    • getHeaders

      public Headers getHeaders()
      Raw request headers as they will be sent over the wire.