0

I'm trying to use Chromium DevTools protocol, more precisely the Network.deleteCookies method: https://chromedevtools.github.io/devtools-protocol/tot/Network/#method-clearBrowserCookies

And it seems like in the description of the method it is written that the url, domain and path parameters are optional parameters, that is, whether to use them or not is optional.

But when I call this method:

{"id":3,"method":"Network.deleteCookies","params":{"name":"name_cookie"}}

Then comes the error:

{"code":-32602,"message":"At least one of the url and domain needs to be specified"}

Why is that? Tell me please.

Optimus1
  • 444
  • 2
  • 13

0 Answers0