<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>Property</th><th>Modifiers</th><th>Type</th><th>Description</th><th>Default</th></tr></thead><tbody><tr><td>domain</td><td><code>optional</code></td><td>string</td><td>Cookie domain.</td><td></td></tr><tr><td>expires</td><td><code>optional</code></td><td>number</td><td>Cookie expiration date, session cookie if not set</td><td></td></tr><tr><td>httpOnly</td><td><code>optional</code></td><td>boolean</td><td>True if cookie is http-only.</td><td></td></tr><tr><td>name</td><td></td><td>string</td><td>Cookie name.</td><td></td></tr><tr><td>partitionKey</td><td><code>optional</code></td><td>string</td><td>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.</td><td></td></tr><tr><td>path</td><td><code>optional</code></td><td>string</td><td>Cookie path.</td><td></td></tr><tr><td>priority</td><td><code>optional</code></td><td><ahref="/next/api/puppeteer.cookiepriority">CookiePriority</a></td><td>Cookie Priority. Supported only in Chrome.</td><td></td></tr><tr><td>sameParty</td><td><code>optional</code></td><td>boolean</td><td>True if cookie is SameParty. Supported only in Chrome.</td><td></td></tr><tr><td>sameSite</td><td><code>optional</code></td><td><ahref="/next/api/puppeteer.cookiesamesite">CookieSameSite</a></td><td>Cookie SameSite type.</td><td></td></tr><tr><td>secure</td><td><code>optional</code></td><td>boolean</td><td>True if cookie is secure.</td><td></td></tr><tr><td>sourceScheme</td><td><code>optional</code></td><td><ahref="/next/api/puppeteer.cookiesourcescheme">CookieSourceScheme</a></td><td>Cookie source scheme type. Supported only in Chrome.</td><td></td></tr><tr><td>url</td><td><code>optional</code></td><td>string</td><td>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.</td><td></td></tr><tr><td>value</td><td></td><td>string</td><td>Cookie value.</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="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://goo.gle/devtools-youtube"target="_blank"rel="noopener noreferrer"class="footer__link-ite