<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>captureBeyondViewport</td><td><code>optional</code></td><td>boolean</td><td>Capture the screenshot beyond the viewport.</td><td><code>true</code></td></tr><tr><td>clip</td><td><code>optional</code></td><td><ahref="/api/puppeteer.screenshotclip">ScreenshotClip</a></td><td>Specifies the region of the page to clip.</td><td></td></tr><tr><td>encoding</td><td><code>optional</code></td><td>'base64' | 'binary'</td><td>Encoding of the image.</td><td><code>'binary'</code></td></tr><tr><td>fromSurface</td><td><code>optional</code></td><td>boolean</td><td>Capture the screenshot from the surface, rather than the view.</td><td><code>true</code></td></tr><tr><td>fullPage</td><td><code>optional</code></td><td>boolean</td><td>When <code>true</code>, takes a screenshot of the full page.</td><td><code>false</code></td></tr><tr><td>omitBackground</td><td><code>optional</code></td><td>boolean</td><td>Hides default white background and allows capturing screenshots with transparency.</td><td><code>false</code></td></tr><tr><td>optimizeForSpeed</td><td><code>optional</code></td><td>boolean</td><td></td><td><code>false</code></td></tr><tr><td>path</td><td><code>optional</code></td><td>string</td><td>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.</td><td></td></tr><tr><td>quality</td><td><code>optional</code></td><td>number</td><td>Quality of the image, between 0-100. Not applicable to <code>png</code> images.</td><td></td></tr><tr><td>type</td><td><code>optional</code></td><td>'png' | 'jpeg' | 'webp'</td><td></td><td><code>'png'</code></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_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-item">YouTube<svgwidth="13.5"height="13.5"aria-hidden="true"viewBox="0 0 24 24"class="iconExternalLink_nPIU"><pathfill=