<h4class="anchor anchorWithStickyNavbar_LWe7"id="signature">Signature:<ahref="#signature"class="hash-link"aria-label="Direct link to Signature:"title="Direct link to Signature:"></a></h4>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="properties">Properties<ahref="#properties"class="hash-link"aria-label="Direct link to Properties"title="Direct link to Properties"></a></h2>
<table><thead><tr><th><p>Property</p></th><th><p>Modifiers</p></th><th><p>Type</p></th><th><p>Description</p></th><th><p>Default</p></th></tr></thead><tbody><tr><td><p>domain</p></td><td><p><code>optional</code></p></td><td><p>string</p></td><td><p>Cookie domain.</p></td><td></td></tr><tr><td><p>expires</p></td><td><p><code>optional</code></p></td><td><p>number</p></td><td><p>Cookie expiration date, session cookie if not set</p></td><td></td></tr><tr><td><p>httpOnly</p></td><td><p><code>optional</code></p></td><td><p>boolean</p></td><td><p>True if cookie is http-only.</p></td><td></td></tr><tr><td><p>name</p></td><td></td><td><p>string</p></td><td><p>Cookie name.</p></td><td></td></tr><tr><td><p>partitionKey</p></td><td><p><code>optional</code></p></td><td><p>string</p></td><td><p>Cookie partition key. The site of the top-level URL the browser was visiting at the start of the request to the endpoint that set the cookie. If not set, the cookie will be set as not partitioned.</p></td><td></td></tr><tr><td><p>path</p></td><td><p><code>optional</code></p></td><td><p>string</p></td><td><p>Cookie path.</p></td><td></td></tr><tr><td><p>priority</p></td><td><p><code>optional</code></p></td><td><p><ahref="/next/api/puppeteer.cookiepriority">CookiePriority</a></p></td><td><p>Cookie Priority. Supported only in Chrome.</p></td><td></td></tr><tr><td><p>sameParty</p></td><td><p><code>optional</code></p></td><td><p>boolean</p></td><td><p>True if cookie is SameParty. Supported only in Chrome.</p></td><td></td></tr><tr><td><p>sameSite</p></td><td><p><code>optional</code></p></td><td><p><ahref="/next/api/puppeteer.cookiesamesite">CookieSameSite</a></p></td><td><p>Cookie SameSite type.</p></td><td></td></tr><tr><td><p>secure</p></td><td><p><code>optional</code></p></td><td><p>boolean</p></td><td><p>True if cookie is secure.</p></td><td></td></tr><tr><td><p>sourceScheme</p></td><td><p><code>optional</code></p></td><td><p><ahref="/next/api/puppeteer.cookiesourcescheme">CookieSourceScheme</a></p></td><td><p>Cookie source scheme type. Supported only in Chrome.</p></td><td></td></tr><tr><td><p>url</p></td><td><p><code>optional</code></p></td><td><p>string</p></td><td><p>The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, and source scheme values of the created cookie.</p></td><td></td></tr><tr><td><p>value</p></td><td></td><td><p>string</p></td><td><p>Cookie value.</p></td><td></td></tr></tbody></table></div></article><navclass="pagination-nav docusaurus-mt-lg"aria-label="Docs pages"><aclass="pagination-nav__link pagination-nav__link--prev"href="/next/api/puppeteer.cookie"><divclass="pagination-nav__sublabel">Previous</div><divclass="pagination-nav__label">Cookie</div></a><aclass="pagination-nav__link pagination-nav__link--next"href="/next/api/puppeteer.cookiepriority"><divclass="pagination-nav__sublabel">Next</div><divclass="pagination-nav__label">CookiePriority</div></a></nav></div></div><divclass="col col--3"><divclass="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ulclass="table-of-contents table-of-contents__left-border"><li><ahref="#properties"class="table-of-contents__link toc-highlight">Properties</a></li></ul></div></div></div></div></main></div></div></div><footerclass="footer footer--dark"><divclass="container container-fluid"><divclass="row footer__links"><divclass="col footer__col"><divclass="footer__title">Community</div><ulclass="footer__items clean-list"><liclass="footer__item"><ahref="https://stackoverflow.com/questions/tagged/puppeteer"target="_blank"rel="noopener noreferrer"class="footer__link-item">Stack Overflow<svgwidth="13.5"height="13.5"aria-hidden="true"viewBox="0 0 24 24"class="iconExternalLink_nPIU"><pathfill="currentColor"d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><liclass="footer__item"><ahref="https://twitter.com/chromedevtools"target="_blank"rel="noopener noreferrer"class="footer__link-item">Twitter<svgwidth="