<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>captureBeyondViewport</p></td><td><p><code>optional</code></p></td><td><p>boolean</p></td><td><p>Capture the screenshot beyond the viewport.</p></td><td><p><code>false</code> if there is no <code>clip</code>. <code>true</code> otherwise.</p></td></tr><tr><td><p>clip</p></td><td><p><code>optional</code></p></td><td><p><ahref="/api/puppeteer.screenshotclip">ScreenshotClip</a></p></td><td><p>Specifies the region of the page/element to clip.</p></td><td></td></tr><tr><td><p>encoding</p></td><td><p><code>optional</code></p></td><td><p>'base64' | 'binary'</p></td><td><p>Encoding of the image.</p></td><td><p><code>'binary'</code></p></td></tr><tr><td><p>fromSurface</p></td><td><p><code>optional</code></p></td><td><p>boolean</p></td><td><p>Capture the screenshot from the surface, rather than the view.</p></td><td><p><code>true</code></p></td></tr><tr><td><p>fullPage</p></td><td><p><code>optional</code></p></td><td><p>boolean</p></td><td><p>When <code>true</code>, takes a screenshot of the full page.</p></td><td><p><code>false</code></p></td></tr><tr><td><p>omitBackground</p></td><td><p><code>optional</code></p></td><td><p>boolean</p></td><td><p>Hides default white background and allows capturing screenshots with transparency.</p></td><td><p><code>false</code></p></td></tr><tr><td><p>optimizeForSpeed</p></td><td><p><code>optional</code></p></td><td><p>boolean</p></td><td></td><td><p><code>false</code></p></td></tr><tr><td><p>path</p></td><td><p><code>optional</code></p></td><td><p>string</p></td><td><p>The file path to save the image to. The screenshot type will be inferred from file extension. If path is a relative path, then it is resolved relative to current working directory. If no path is provided, the image won't be saved to the disk.</p></td><td></td></tr><tr><td><p>quality</p></td><td><p><code>optional</code></p></td><td><p>number</p></td><td><p>Quality of the image, between 0-100. Not applicable to <code>png</code> images.</p></td><td></td></tr><tr><td><p>type</p></td><td><p><code>optional</code></p></td><td><p>'png' | 'jpeg' | 'webp'</p></td><td></td><td><p><code>'png'</code></p></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.screenshotclip"><divclass="pagination-nav__sublabel">Previous</div><divclass="pagination-nav__label">ScreenshotClip</div></a><aclass="pagination-nav__link pagination-nav__link--next"href="/api/puppeteer.serializedaxnode"><divclass="pagination-nav__sublabel">Next</div><divclass="pagination-nav__label">SerializedAXNode</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_nP