<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><spanid="domain">domain</span></td><td><p><code>optional</code></p></td><td><p>string</p></td><td><p>Cookie domain.</p></td><td></td></tr><tr><td><spanid="expires">expires</span></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><spanid="httponly">httpOnly</span></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><spanid="name">name</span></td><td></td><td><p>string</p></td><td><p>Cookie name.</p></td><td></td></tr><tr><td><spanid="partitionkey">partitionKey</span></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><spanid="path">path</span></td><td><p><code>optional</code></p></td><td><p>string</p></td><td><p>Cookie path.</p></td><td></td></tr><tr><td><spanid="priority">priority</span></td><td><p><code>optional</code></p></td><td><p><ahref="/api/puppeteer.cookiepriority">CookiePriority</a></p></td><td><p>Cookie Priority. Supported only in Chrome.</p></td><td></td></tr><tr><td><spanid="sameparty">sameParty</span></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><spanid="samesite">sameSite</span></td><td><p><code>optional</code></p></td><td><p><ahref="/api/puppeteer.cookiesamesite">CookieSameSite</a></p></td><td><p>Cookie SameSite type.</p></td><td></td></tr><tr><td><spanid="secure">secure</span></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><spanid="sourcescheme">sourceScheme</span></td><td><p><code>optional</code></p></td><td><p><ahref="/api/puppeteer.cookiesourcescheme">CookieSourceScheme</a></p></td><td><p>Cookie source scheme type. Supported only in Chrome.</p></td><td></td></tr><tr><td><spanid="url">url</span></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><spanid="value">value</span></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="/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="/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="M2113v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.0354-6.9777.