APIPagePage.setCookieVersion: 16.1.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);