PagePage.setCookieVersion: 21.3.8On this pagePage.setCookie() methodSignature:class Page { setCookie(...cookies: Protocol.Network.CookieParam[]): Promise<void>;}ParametersParameterTypeDescriptioncookiesProtocol.Network.CookieParam[]Returns:Promise<void>Exampleawait page.setCookie(cookieObject1, cookieObject2);