Hi everybody.
Can you help me with setCookie
function. I use playwright driver, and when I try to call:
I.setCookie({cookie})
. I have an error:
browserContext.addCookies: Cookie should have a url or a domain/path pair
at Connection.sendMessageToServer (node_modules\playwright\lib\client\connection.js:69:15)
at Proxy. (node_modules\playwright\lib\client\channelOwner.js:44:61)
at path\node_modules\playwright\lib\client\browserContext.js:109:33
Does someone know how to fix it?