cdp
cdp copied to clipboard
cannot unmarshal string into Go struct field ResponseReceivedExtraInfoReply.cookiePartitionKey of type network.CookiePartitionKey
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"
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?