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