cdp icon indicating copy to clipboard operation
cdp copied to clipboard

cannot unmarshal string into Go struct field ResponseReceivedExtraInfoReply.cookiePartitionKey of type network.CookiePartitionKey

Open shukrash opened this issue 1 year ago • 1 comments

I have a client set up on ResponseReceivedExtraInfo event: responseReceivedExtraInfoClient, error := pageCDPClient.Network.ResponseReceivedExtraInfo(harProcessor.context) event, err := harProcessor.responseReceivedExtraInfoClient.Recv()

The Recv fails with "cannot unmarshal string into Go struct field ResponseReceivedExtraInfoReply.cookiePartitionKey of type network.CookiePartitionKey"

shukrash avatar Nov 08 '24 18:11 shukrash

Thanks for reporting @shukrash. Looks like the protocol definition is wrong in this case, but we can work around it. Would you mind trying out #150 to see if it fixes your issue?

mafredri avatar Nov 08 '24 19:11 mafredri