PagePage.setCookieVersion: 19.8.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);