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