Does the context.Context carries information such as request cookies and headers?

I’m using the chromedp browser driver pkg to login in a website which I want to retrive data from. Now, I would like to do that on a larger scale. Maybe if I could use the headers, cookies and authorization from the browser (which is opened in a context) I could do that with a simples GET request.
Is that possible? If so, how come?

How to intercept network traffic and get the response using chromedp (or alternatives)?

I’m aiming to get a specific response from the target server which cannot be retrieve directly, but via techniques such as using web driver to fire the request initiated by inherent javascript code in the web page once loaded. The request contains some code for server-side verification which for now I’m unable to decode the generating algorithm.

The “Developer Tools” in Chrome provides a convenient way to inspect the request and response, and I need to automate the process by using powerful libs such as chromedp.

AFAIK the network package provides a GetResponseBody function, but requires a requestID parameter. How can I acquire the specific request id?

cdp.ActionFunc(func(ctxt context.Context, h cdptypes.Handler) error {
        rptn := &network.RequestPattern{
            ResourceType: page.ResourceTypeScript,
        network.SetRequestInterception([]*network.RequestPattern{rptn}).Do(ctxt, h)

        //begin interception
        network.ContinueInterceptedRequest("AlphaInterceptor").Do(ctxt, h)

        //How to identified the requestID?