puppeteer/api/index.html

17 lines
78 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="en" dir="ltr" class="docs-wrapper docs-doc-page docs-version-current plugin-docs plugin-id-default docs-doc-id-api/index">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="generator" content="Docusaurus v2.0.0-beta.21">
<title data-rh="true">puppeteer package | Puppeteer</title><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pptr.dev/api/"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="puppeteer package | Puppeteer"><meta data-rh="true" name="description" content="Classes"><meta data-rh="true" property="og:description" content="Classes"><link data-rh="true" rel="icon" href="/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://pptr.dev/api/"><link data-rh="true" rel="alternate" href="https://pptr.dev/api/" hreflang="en"><link data-rh="true" rel="alternate" href="https://pptr.dev/api/" hreflang="x-default"><link rel="stylesheet" href="/assets/css/styles.39576fb3.css">
<link rel="preload" href="/assets/js/runtime~main.ff8181ea.js" as="script">
<link rel="preload" href="/assets/js/main.3ba66628.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region"><a href="#" class="skipToContent_fXgn">Skip to main content</a></div><nav class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Navigation bar toggle" class="navbar__toggle clean-btn" type="button" tabindex="0"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/"><div class="navbar__logo"><img src="https://user-images.githubusercontent.com/10379601/29446482-04f7036a-841f-11e7-9872-91d1fc2ea683.png" alt="Puppeteer Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="https://user-images.githubusercontent.com/10379601/29446482-04f7036a-841f-11e7-9872-91d1fc2ea683.png" alt="Puppeteer Logo" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">Puppeteer</b></a></div><div class="navbar__items navbar__items--right"><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/">Next</a><div class="searchBox_ZlJk"><div class="navbar__search searchBarContainer_NW3z"><input placeholder="Search" aria-label="Search" class="navbar__search-input"><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div><div class="searchHintContainer_Pkmr"><kbd class="searchHint_iIMx">ctrl</kbd><kbd class="searchHint_iIMx">K</kbd></div></div></div><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div class="main-wrapper docsWrapper_BCFX"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docPage__5DB"><aside class="theme-doc-sidebar-container docSidebarContainer_b6E3"><div class="sidebar_njMd"><nav class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/">Puppeteer</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/faq">FAQ</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/troubleshooting">Troubleshooting</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/contributing">Contributing</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/chromium-support">Chromium Support</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item"><div class="menu__list-item-collapsible menu__list-item-collapsible--active"><a class="menu__link menu__link--sublist menu__link--active" aria-current="page" aria-expanded="true" href="/api/">API</a><button aria-label="Toggle the collapsible sidebar category &#x27;API&#x27;" type="button" class="clean-btn menu__caret"></button></div><ul style="display:block;overflow:visible;height:auto" class="menu__list"><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.accessibility">accessibility</a><button aria-label="Toggle the collapsible sidebar category &#x27;accessibility&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.actionresult">actionresult</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.awaitable">awaitable</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.boundingbox">boundingbox</a><button aria-label="Toggle the collapsible sidebar category &#x27;boundingbox&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.boxmodel">boxmodel</a><button aria-label="Toggle the collapsible sidebar category &#x27;boxmodel&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.browser">browser</a><button aria-label="Toggle the collapsible sidebar category &#x27;browser&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.browserconnectoptions">browserconnectoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;browserconnectoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.browsercontext">browsercontext</a><button aria-label="Toggle the collapsible sidebar category &#x27;browsercontext&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.browsercontextemittedevents">browsercontextemittedevents</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.browsercontextoptions">browsercontextoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;browsercontextoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.browseremittedevents">browseremittedevents</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.browserfetcher">browserfetcher</a><button aria-label="Toggle the collapsible sidebar category &#x27;browserfetcher&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.browserfetcheroptions">browserfetcheroptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;browserfetcheroptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.browserfetcherrevisioninfo">browserfetcherrevisioninfo</a><button aria-label="Toggle the collapsible sidebar category &#x27;browserfetcherrevisioninfo&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.browserlaunchargumentoptions">browserlaunchargumentoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;browserlaunchargumentoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.cdpsession">cdpsession</a><button aria-label="Toggle the collapsible sidebar category &#x27;cdpsession&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.cdpsessiononmessageobject">cdpsessiononmessageobject</a><button aria-label="Toggle the collapsible sidebar category &#x27;cdpsessiononmessageobject&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.chromereleasechannel">chromereleasechannel</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.clearcustomqueryhandlers">clearcustomqueryhandlers</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.clickoptions">clickoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;clickoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.commoneventemitter">commoneventemitter</a><button aria-label="Toggle the collapsible sidebar category &#x27;commoneventemitter&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.connect">connect</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.connection">connection</a><button aria-label="Toggle the collapsible sidebar category &#x27;connection&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.connectioncallback">connectioncallback</a><button aria-label="Toggle the collapsible sidebar category &#x27;connectioncallback&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.connectiontransport">connectiontransport</a><button aria-label="Toggle the collapsible sidebar category &#x27;connectiontransport&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.connectoptions">connectoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;connectoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.consolemessage">consolemessage</a><button aria-label="Toggle the collapsible sidebar category &#x27;consolemessage&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.consolemessagelocation">consolemessagelocation</a><button aria-label="Toggle the collapsible sidebar category &#x27;consolemessagelocation&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.consolemessagetype">consolemessagetype</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.continuerequestoverrides">continuerequestoverrides</a><button aria-label="Toggle the collapsible sidebar category &#x27;continuerequestoverrides&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.coverage">coverage</a><button aria-label="Toggle the collapsible sidebar category &#x27;coverage&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.coverageentry">coverageentry</a><button aria-label="Toggle the collapsible sidebar category &#x27;coverageentry&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.createbrowserfetcher">createbrowserfetcher</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.credentials">credentials</a><button aria-label="Toggle the collapsible sidebar category &#x27;credentials&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.csscoverage">csscoverage</a><button aria-label="Toggle the collapsible sidebar category &#x27;csscoverage&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.csscoverageoptions">csscoverageoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;csscoverageoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.customerror">customerror</a><button aria-label="Toggle the collapsible sidebar category &#x27;customerror&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.customqueryhandler">customqueryhandler</a><button aria-label="Toggle the collapsible sidebar category &#x27;customqueryhandler&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.customqueryhandlernames">customqueryhandlernames</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.default_intercept_resolution_priority">default_intercept_resolution_priority</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.defaultargs">defaultargs</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.device">device</a><button aria-label="Toggle the collapsible sidebar category &#x27;device&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.devices">devices</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.devicesmap">devicesmap</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.dialog">dialog</a><button aria-label="Toggle the collapsible sidebar category &#x27;dialog&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.elementhandle">elementhandle</a><button aria-label="Toggle the collapsible sidebar category &#x27;elementhandle&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.errorcode">errorcode</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.errors">errors</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.evaluatefunc">evaluatefunc</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.evaluation_script_url">evaluation_script_url</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.eventemitter">eventemitter</a><button aria-label="Toggle the collapsible sidebar category &#x27;eventemitter&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.eventtype">eventtype</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.executablepath">executablepath</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.executioncontext">executioncontext</a><button aria-label="Toggle the collapsible sidebar category &#x27;executioncontext&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.filechooser">filechooser</a><button aria-label="Toggle the collapsible sidebar category &#x27;filechooser&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.flattenhandle">flattenhandle</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.frame">frame</a><button aria-label="Toggle the collapsible sidebar category &#x27;frame&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.frameaddscripttagoptions">frameaddscripttagoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;frameaddscripttagoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.frameaddstyletagoptions">frameaddstyletagoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;frameaddstyletagoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.framewaitforfunctionoptions">framewaitforfunctionoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;framewaitforfunctionoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.geolocationoptions">geolocationoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;geolocationoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.handlefor">handlefor</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.handleor">handleor</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.handler">handler</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.httprequest">httprequest</a><button aria-label="Toggle the collapsible sidebar category &#x27;httprequest&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.httpresponse">httpresponse</a><button aria-label="Toggle the collapsible sidebar category &#x27;httpresponse&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.innerparams">innerparams</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.interceptresolutionaction">interceptresolutionaction</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.interceptresolutionstate">interceptresolutionstate</a><button aria-label="Toggle the collapsible sidebar category &#x27;interceptresolutionstate&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.interceptresolutionstrategy">interceptresolutionstrategy</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.internalnetworkconditions">internalnetworkconditions</a><button aria-label="Toggle the collapsible sidebar category &#x27;internalnetworkconditions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.jscoverage">jscoverage</a><button aria-label="Toggle the collapsible sidebar category &#x27;jscoverage&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.jscoverageentry">jscoverageentry</a><button aria-label="Toggle the collapsible sidebar category &#x27;jscoverageentry&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.jscoverageoptions">jscoverageoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;jscoverageoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.jshandle">jshandle</a><button aria-label="Toggle the collapsible sidebar category &#x27;jshandle&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.keyboard">keyboard</a><button aria-label="Toggle the collapsible sidebar category &#x27;keyboard&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.keyinput">keyinput</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.launch">launch</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.launchoptions">launchoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;launchoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.lowercasepaperformat">lowercasepaperformat</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.mediafeature">mediafeature</a><button aria-label="Toggle the collapsible sidebar category &#x27;mediafeature&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.metrics">metrics</a><button aria-label="Toggle the collapsible sidebar category &#x27;metrics&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.mouse">mouse</a><button aria-label="Toggle the collapsible sidebar category &#x27;mouse&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.mousebutton">mousebutton</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.mouseoptions">mouseoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;mouseoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.mousewheeloptions">mousewheeloptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;mousewheeloptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.networkconditions">networkconditions</a><button aria-label="Toggle the collapsible sidebar category &#x27;networkconditions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.offset">offset</a><button aria-label="Toggle the collapsible sidebar category &#x27;offset&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.page">page</a><button aria-label="Toggle the collapsible sidebar category &#x27;page&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.pageemittedevents">pageemittedevents</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.pageeventobject">pageeventobject</a><button aria-label="Toggle the collapsible sidebar category &#x27;pageeventobject&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.paperformat">paperformat</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.pdfmargin">pdfmargin</a><button aria-label="Toggle the collapsible sidebar category &#x27;pdfmargin&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.pdfoptions">pdfoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;pdfoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.permission">permission</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.platform">platform</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.point">point</a><button aria-label="Toggle the collapsible sidebar category &#x27;point&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.pressoptions">pressoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;pressoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.product">product</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.productlauncher">productlauncher</a><button aria-label="Toggle the collapsible sidebar category &#x27;productlauncher&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.protocolerror">protocolerror</a><button aria-label="Toggle the collapsible sidebar category &#x27;protocolerror&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.protocollifecycleevent">protocollifecycleevent</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.puppeteer">puppeteer</a><button aria-label="Toggle the collapsible sidebar category &#x27;puppeteer&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.puppeteererrors">puppeteererrors</a><button aria-label="Toggle the collapsible sidebar category &#x27;puppeteererrors&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.puppeteerlaunchoptions">puppeteerlaunchoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;puppeteerlaunchoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.puppeteerlifecycleevent">puppeteerlifecycleevent</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.puppeteernode">puppeteernode</a><button aria-label="Toggle the collapsible sidebar category &#x27;puppeteernode&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.puppeteernodelaunchoptions">puppeteernodelaunchoptions</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.registercustomqueryhandler">registercustomqueryhandler</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.remoteaddress">remoteaddress</a><button aria-label="Toggle the collapsible sidebar category &#x27;remoteaddress&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.resourcetype">resourcetype</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.responseforrequest">responseforrequest</a><button aria-label="Toggle the collapsible sidebar category &#x27;responseforrequest&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.screenshotclip">screenshotclip</a><button aria-label="Toggle the collapsible sidebar category &#x27;screenshotclip&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.screenshotoptions">screenshotoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;screenshotoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.securitydetails">securitydetails</a><button aria-label="Toggle the collapsible sidebar category &#x27;securitydetails&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.serializedaxnode">serializedaxnode</a><button aria-label="Toggle the collapsible sidebar category &#x27;serializedaxnode&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.snapshotoptions">snapshotoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;snapshotoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.target">target</a><button aria-label="Toggle the collapsible sidebar category &#x27;target&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.targetfiltercallback">targetfiltercallback</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.timeouterror">timeouterror</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.touchscreen">touchscreen</a><button aria-label="Toggle the collapsible sidebar category &#x27;touchscreen&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.tracing">tracing</a><button aria-label="Toggle the collapsible sidebar category &#x27;tracing&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.tracingoptions">tracingoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;tracingoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-2 menu__list-item"><a class="menu__link" tabindex="0" href="/api/puppeteer.unregistercustomqueryhandler">unregistercustomqueryhandler</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.viewport">viewport</a><button aria-label="Toggle the collapsible sidebar category &#x27;viewport&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.waitforoptions">waitforoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;waitforoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.waitforselectoroptions">waitforselectoroptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;waitforselectoroptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.waitfortargetoptions">waitfortargetoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;waitfortargetoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.waittimeoutoptions">waittimeoutoptions</a><button aria-label="Toggle the collapsible sidebar category &#x27;waittimeoutoptions&#x27;" type="button" class="clean-btn menu__caret"></button></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-2 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist" aria-expanded="false" tabindex="0" href="/api/puppeteer.webworker">webworker</a><button aria-label="Toggle the collapsible sidebar category &#x27;webworker&#x27;" type="button" class="clean-btn menu__caret"></button></div></li></ul></li></ul></nav></div></aside><main class="docMainContainer_gTbr"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_GujU"><div class="docItemContainer_Adtb"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label="Breadcrumbs"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_OVgt"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">API</span><meta itemprop="position" content="1"></li></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_aoJ5"><button type="button" class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><h1>puppeteer package</h1><h2 class="anchor anchorWithStickyNavbar_LWe7" id="classes">Classes<a class="hash-link" href="#classes" title="Direct link to heading"></a></h2><table><thead><tr><th>Class</th><th>Description</th></tr></thead><tbody><tr><td><a href="/api/puppeteer.accessibility">Accessibility</a></td><td>The Accessibility class provides methods for inspecting Chromium&#x27;s accessibility tree. The accessibility tree is used by assistive technology such as <a href="https://en.wikipedia.org/wiki/Screen_reader" target="_blank" rel="noopener noreferrer">screen readers</a> or <a href="https://en.wikipedia.org/wiki/Switch_access" target="_blank" rel="noopener noreferrer">switches</a>.</td></tr><tr><td><a href="/api/puppeteer.browser">Browser</a></td><td>A Browser is created when Puppeteer connects to a Chromium instance, either through <a href="/api/puppeteer.puppeteernode.launch">PuppeteerNode.launch()</a> or <a href="/api/puppeteer.puppeteer.connect">Puppeteer.connect()</a>.</td></tr><tr><td><a href="/api/puppeteer.browsercontext">BrowserContext</a></td><td>BrowserContexts provide a way to operate multiple independent browser sessions. When a browser is launched, it has a single BrowserContext used by default. The method <a href="/api/puppeteer.browser.newpage">Browser.newPage</a> creates a page in the default browser context.</td></tr><tr><td><a href="/api/puppeteer.browserfetcher">BrowserFetcher</a></td><td>BrowserFetcher can download and manage different versions of Chromium and Firefox.</td></tr><tr><td><a href="/api/puppeteer.cdpsession">CDPSession</a></td><td>The <code>CDPSession</code> instances are used to talk raw Chrome Devtools Protocol.</td></tr><tr><td><a href="/api/puppeteer.connection">Connection</a></td><td></td></tr><tr><td><a href="/api/puppeteer.consolemessage">ConsoleMessage</a></td><td>ConsoleMessage objects are dispatched by page via the &#x27;console&#x27; event.</td></tr><tr><td><a href="/api/puppeteer.coverage">Coverage</a></td><td>The Coverage class provides methods to gathers information about parts of JavaScript and CSS that were used by the page.</td></tr><tr><td><a href="/api/puppeteer.csscoverage">CSSCoverage</a></td><td></td></tr><tr><td><a href="/api/puppeteer.customerror">CustomError</a></td><td></td></tr><tr><td><a href="/api/puppeteer.dialog">Dialog</a></td><td>Dialog instances are dispatched by the <a href="/api/puppeteer.page">Page</a> via the <code>dialog</code> event.</td></tr><tr><td><a href="/api/puppeteer.elementhandle">ElementHandle</a></td><td>ElementHandle represents an in-page DOM element.</td></tr><tr><td><a href="/api/puppeteer.eventemitter">EventEmitter</a></td><td>The EventEmitter class that many Puppeteer classes extend.</td></tr><tr><td><a href="/api/puppeteer.executioncontext">ExecutionContext</a></td><td>This class represents a context for JavaScript execution. A <!-- -->[<!-- -->Page<!-- -->]<!-- --> might have many execution contexts: - each <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe" target="_blank" rel="noopener noreferrer">frame</a> has &quot;default&quot; execution context that is always created after frame is attached to DOM. This context is returned by the <a href="/api/puppeteer.frame.executioncontext">Frame.executionContext()</a> method. - <a href="https://developer.chrome.com/extensions" target="_blank" rel="noopener noreferrer">Extension</a>&#x27;s content scripts create additional execution contexts.Besides pages, execution contexts can be found in <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API" target="_blank" rel="noopener noreferrer">workers</a>.</td></tr><tr><td><a href="/api/puppeteer.filechooser">FileChooser</a></td><td>File choosers let you react to the page requesting for a file.</td></tr><tr><td><a href="/api/puppeteer.frame">Frame</a></td><td>At every point of time, page exposes its current frame tree via the <a href="/api/puppeteer.page.mainframe">page.mainFrame</a> and <a href="/api/puppeteer.frame.childframes">frame.childFrames</a> methods.</td></tr><tr><td><a href="/api/puppeteer.httprequest">HTTPRequest</a></td><td>Represents an HTTP request sent by a page.</td></tr><tr><td><a href="/api/puppeteer.httpresponse">HTTPResponse</a></td><td>The HTTPResponse class represents responses which are received by the <a href="/api/puppeteer.page">Page</a> class.</td></tr><tr><td><a href="/api/puppeteer.jscoverage">JSCoverage</a></td><td></td></tr><tr><td><a href="/api/puppeteer.jshandle">JSHandle</a></td><td>Represents an in-page JavaScript object. JSHandles can be created with the <a href="/api/puppeteer.page.evaluatehandle">page.evaluateHandle</a> method.</td></tr><tr><td><a href="/api/puppeteer.keyboard">Keyboard</a></td><td>Keyboard provides an api for managing a virtual keyboard. The high level api is <a href="/api/puppeteer.keyboard.type">Keyboard.type()</a>, which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page.</td></tr><tr><td><a href="/api/puppeteer.mouse">Mouse</a></td><td>The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.</td></tr><tr><td><a href="/api/puppeteer.page">Page</a></td><td>Page provides methods to interact with a single tab or <a href="https://developer.chrome.com/extensions/background_pages" target="_blank" rel="noopener noreferrer">extension background page</a> in Chromium.</td></tr><tr><td><a href="/api/puppeteer.protocolerror">ProtocolError</a></td><td>ProtocolError is emitted whenever there is an error from the protocol.</td></tr><tr><td><a href="/api/puppeteer.puppeteer">Puppeteer</a></td><td>The main Puppeteer class.IMPORTANT: if you are using Puppeteer in a Node environment, you will get an instance of <a href="/api/puppeteer.puppeteernode">PuppeteerNode</a> when you import or require <code>puppeteer</code>. That class extends <code>Puppeteer</code>, so has all the methods documented below as well as all that are defined on <a href="/api/puppeteer.puppeteernode">PuppeteerNode</a>.</td></tr><tr><td><a href="/api/puppeteer.puppeteernode">PuppeteerNode</a></td><td>Extends the main <a href="/api/puppeteer.puppeteer">Puppeteer</a> class with Node specific behaviour for fetching and downloading browsers.If you&#x27;re using Puppeteer in a Node environment, this is the class you&#x27;ll get when you run <code>require(&#x27;puppeteer&#x27;)</code> (or the equivalent ES <code>import</code>).</td></tr><tr><td><a href="/api/puppeteer.securitydetails">SecurityDetails</a></td><td>The SecurityDetails class represents the security details of a response that was received over a secure connection.</td></tr><tr><td><a href="/api/puppeteer.target">Target</a></td><td></td></tr><tr><td><a href="/api/puppeteer.timeouterror">TimeoutError</a></td><td>TimeoutError is emitted whenever certain operations are terminated due to timeout.</td></tr><tr><td><a href="/api/puppeteer.touchscreen">Touchscreen</a></td><td>The Touchscreen class exposes touchscreen events.</td></tr><tr><td><a href="/api/puppeteer.tracing">Tracing</a></td><td>The Tracing class exposes the tracing audit interface.</td></tr><tr><td><a href="/api/puppeteer.webworker">WebWorker</a></td><td>The WebWorker class represents a <a href="https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API" target="_blank" rel="noopener noreferrer">WebWorker</a>.</td></tr></tbody></table><h2 class="anchor anchorWithStickyNavbar_LWe7" id="enumerations">Enumerations<a class="hash-link" href="#enumerations" title="Direct link to heading"></a></h2><table><thead><tr><th>Enumeration</th><th>Description</th></tr></thead><tbody><tr><td><a href="/api/puppeteer.browsercontextemittedevents">BrowserContextEmittedEvents</a></td><td></td></tr><tr><td><a href="/api/puppeteer.browseremittedevents">BrowserEmittedEvents</a></td><td>All the events a <a href="/api/puppeteer.browser">browser instance</a> may emit.</td></tr><tr><td><a href="/api/puppeteer.interceptresolutionaction">InterceptResolutionAction</a></td><td></td></tr><tr><td><a href="/api/puppeteer.pageemittedevents">PageEmittedEvents</a></td><td>All the events that a page instance may emit.</td></tr></tbody></table><h2 class="anchor anchorWithStickyNavbar_LWe7" id="functions">Functions<a class="hash-link" href="#functions" title="Direct link to heading"></a></h2><table><thead><tr><th>Function</th><th>Description</th></tr></thead><tbody><tr><td><a href="/api/puppeteer.clearcustomqueryhandlers">clearCustomQueryHandlers()</a></td><td>Clears all registered handlers.</td></tr><tr><td><a href="/api/puppeteer.customqueryhandlernames">customQueryHandlerNames()</a></td><td></td></tr><tr><td><a href="/api/puppeteer.registercustomqueryhandler">registerCustomQueryHandler(name, handler)</a></td><td>Registers a <a href="/api/puppeteer.customqueryhandler">custom query handler</a>.</td></tr><tr><td><a href="/api/puppeteer.unregistercustomqueryhandler">unregisterCustomQueryHandler(name)</a></td><td></td></tr></tbody></table><h2 class="anchor anchorWithStickyNavbar_LWe7" id="interfaces">Interfaces<a class="hash-link" href="#interfaces" title="Direct link to heading"></a></h2><table><thead><tr><th>Interface</th><th>Description</th></tr></thead><tbody><tr><td><a href="/api/puppeteer.boundingbox">BoundingBox</a></td><td></td></tr><tr><td><a href="/api/puppeteer.boxmodel">BoxModel</a></td><td></td></tr><tr><td><a href="/api/puppeteer.browserconnectoptions">BrowserConnectOptions</a></td><td>Generic browser options that can be passed when launching any browser or when connecting to an existing browser instance.</td></tr><tr><td><a href="/api/puppeteer.browsercontextoptions">BrowserContextOptions</a></td><td>BrowserContext options.</td></tr><tr><td><a href="/api/puppeteer.browserfetcheroptions">BrowserFetcherOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.browserfetcherrevisioninfo">BrowserFetcherRevisionInfo</a></td><td></td></tr><tr><td><a href="/api/puppeteer.browserlaunchargumentoptions">BrowserLaunchArgumentOptions</a></td><td>Launcher options that only apply to Chrome.</td></tr><tr><td><a href="/api/puppeteer.cdpsessiononmessageobject">CDPSessionOnMessageObject</a></td><td></td></tr><tr><td><a href="/api/puppeteer.clickoptions">ClickOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.commoneventemitter">CommonEventEmitter</a></td><td></td></tr><tr><td><a href="/api/puppeteer.connectioncallback">ConnectionCallback</a></td><td></td></tr><tr><td><a href="/api/puppeteer.connectiontransport">ConnectionTransport</a></td><td></td></tr><tr><td><a href="/api/puppeteer.connectoptions">ConnectOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.consolemessagelocation">ConsoleMessageLocation</a></td><td></td></tr><tr><td><a href="/api/puppeteer.continuerequestoverrides">ContinueRequestOverrides</a></td><td></td></tr><tr><td><a href="/api/puppeteer.coverageentry">CoverageEntry</a></td><td>The CoverageEntry class represents one entry of the coverage report.</td></tr><tr><td><a href="/api/puppeteer.credentials">Credentials</a></td><td></td></tr><tr><td><a href="/api/puppeteer.csscoverageoptions">CSSCoverageOptions</a></td><td>Set of configurable options for CSS coverage.</td></tr><tr><td><a href="/api/puppeteer.customqueryhandler">CustomQueryHandler</a></td><td>Contains two functions <code>queryOne</code> and <code>queryAll</code> that can be <a href="/api/puppeteer.registercustomqueryhandler">registered</a> as alternative querying strategies. The functions <code>queryOne</code> and <code>queryAll</code> are executed in the page context. <code>queryOne</code> should take an <code>Element</code> and a selector string as argument and return a single <code>Element</code> or <code>null</code> if no element is found. <code>queryAll</code> takes the same arguments but should instead return a <code>NodeListOf<!-- -->&lt;<!-- -->Element<!-- -->&gt;</code> or <code>Array<!-- -->&lt;<!-- -->Element<!-- -->&gt;</code> with all the elements that match the given query selector.</td></tr><tr><td><a href="/api/puppeteer.device">Device</a></td><td></td></tr><tr><td><a href="/api/puppeteer.frameaddscripttagoptions">FrameAddScriptTagOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.frameaddstyletagoptions">FrameAddStyleTagOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.framewaitforfunctionoptions">FrameWaitForFunctionOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.geolocationoptions">GeolocationOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.interceptresolutionstate">InterceptResolutionState</a></td><td></td></tr><tr><td><a href="/api/puppeteer.internalnetworkconditions">InternalNetworkConditions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.jscoverageentry">JSCoverageEntry</a></td><td>The CoverageEntry class for JavaScript</td></tr><tr><td><a href="/api/puppeteer.jscoverageoptions">JSCoverageOptions</a></td><td>Set of configurable options for JS coverage.</td></tr><tr><td><a href="/api/puppeteer.launchoptions">LaunchOptions</a></td><td>Generic launch options that can be passed when launching any browser.</td></tr><tr><td><a href="/api/puppeteer.mediafeature">MediaFeature</a></td><td></td></tr><tr><td><a href="/api/puppeteer.metrics">Metrics</a></td><td></td></tr><tr><td><a href="/api/puppeteer.mouseoptions">MouseOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.mousewheeloptions">MouseWheelOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.networkconditions">NetworkConditions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.offset">Offset</a></td><td></td></tr><tr><td><a href="/api/puppeteer.pageeventobject">PageEventObject</a></td><td>Denotes the objects received by callback functions for page events.See <a href="/api/puppeteer.pageemittedevents">PageEmittedEvents</a> for more detail on the events and when they are emitted.</td></tr><tr><td><a href="/api/puppeteer.pdfmargin">PDFMargin</a></td><td></td></tr><tr><td><a href="/api/puppeteer.pdfoptions">PDFOptions</a></td><td>Valid options to configure PDF generation via <a href="/api/puppeteer.page.pdf">Page.pdf()</a>.</td></tr><tr><td><a href="/api/puppeteer.point">Point</a></td><td></td></tr><tr><td><a href="/api/puppeteer.pressoptions">PressOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.productlauncher">ProductLauncher</a></td><td>Describes a launcher - a class that is able to create and launch a browser instance.</td></tr><tr><td><a href="/api/puppeteer.puppeteererrors">PuppeteerErrors</a></td><td></td></tr><tr><td><a href="/api/puppeteer.puppeteerlaunchoptions">PuppeteerLaunchOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.remoteaddress">RemoteAddress</a></td><td></td></tr><tr><td><a href="/api/puppeteer.responseforrequest">ResponseForRequest</a></td><td>Required response data to fulfill a request with.</td></tr><tr><td><a href="/api/puppeteer.screenshotclip">ScreenshotClip</a></td><td></td></tr><tr><td><a href="/api/puppeteer.screenshotoptions">ScreenshotOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.serializedaxnode">SerializedAXNode</a></td><td>Represents a Node and the properties of it that are relevant to Accessibility.</td></tr><tr><td><a href="/api/puppeteer.snapshotoptions">SnapshotOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.tracingoptions">TracingOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.viewport">Viewport</a></td><td>Sets the viewport of the page.</td></tr><tr><td><a href="/api/puppeteer.waitforoptions">WaitForOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.waitforselectoroptions">WaitForSelectorOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.waitfortargetoptions">WaitForTargetOptions</a></td><td></td></tr><tr><td><a href="/api/puppeteer.waittimeoutoptions">WaitTimeoutOptions</a></td><td></td></tr></tbody></table><h2 class="anchor anchorWithStickyNavbar_LWe7" id="variables">Variables<a class="hash-link" href="#variables" title="Direct link to heading"></a></h2><table><thead><tr><th>Variable</th><th>Description</th></tr></thead><tbody><tr><td><a href="/api/puppeteer.connect">connect</a></td><td></td></tr><tr><td><a href="/api/puppeteer.createbrowserfetcher">createBrowserFetcher</a></td><td></td></tr><tr><td><a href="/api/puppeteer.default_intercept_resolution_priority">DEFAULT_INTERCEPT_RESOLUTION_PRIORITY</a></td><td>The default cooperative request interception resolution priority</td></tr><tr><td><a href="/api/puppeteer.defaultargs">defaultArgs</a></td><td></td></tr><tr><td><a href="/api/puppeteer.devices">devices</a></td><td>A list of devices to be used with <code>page.emulate(options)</code>. Actual list of devices can be found in <a href="https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts" target="_blank" rel="noopener noreferrer">src/common/DeviceDescriptors.ts</a>.</td></tr><tr><td><a href="/api/puppeteer.errors">errors</a></td><td>Puppeteer methods might throw errors if they are unable to fulfill a request. For example, <code>page.waitForSelector(selector<!-- -->[, options]<!-- -->)</code> might fail if the selector doesn&#x27;t match any nodes during the given timeframe.For certain types of errors Puppeteer uses specific error classes. These classes are available via <code>puppeteer.errors</code>.</td></tr><tr><td><a href="/api/puppeteer.evaluation_script_url">EVALUATION_SCRIPT_URL</a></td><td></td></tr><tr><td><a href="/api/puppeteer.executablepath">executablePath</a></td><td></td></tr><tr><td><a href="/api/puppeteer.launch">launch</a></td><td></td></tr><tr><td><a href="/api/puppeteer.networkconditions">networkConditions</a></td><td>A list of network conditions to be used with <code>page.emulateNetworkConditions(networkConditions)</code>. Actual list of predefined conditions can be found in <a href="https://github.com/puppeteer/puppeteer/blob/main/src/common/NetworkConditions.ts" target="_blank" rel="noopener noreferrer">src/common/NetworkConditions.ts</a>.</td></tr></tbody></table><h2 class="anchor anchorWithStickyNavbar_LWe7" id="type-aliases">Type Aliases<a class="hash-link" href="#type-aliases" title="Direct link to heading"></a></h2><table><thead><tr><th>Type Alias</th><th>Description</th></tr></thead><tbody><tr><td><a href="/api/puppeteer.actionresult">ActionResult</a></td><td></td></tr><tr><td><a href="/api/puppeteer.awaitable">Awaitable</a></td><td></td></tr><tr><td><a href="/api/puppeteer.chromereleasechannel">ChromeReleaseChannel</a></td><td></td></tr><tr><td><a href="/api/puppeteer.consolemessagetype">ConsoleMessageType</a></td><td>The supported types for console messages.</td></tr><tr><td><a href="/api/puppeteer.devicesmap">DevicesMap</a></td><td></td></tr><tr><td><a href="/api/puppeteer.errorcode">ErrorCode</a></td><td></td></tr><tr><td><a href="/api/puppeteer.evaluatefunc">EvaluateFunc</a></td><td></td></tr><tr><td><a href="/api/puppeteer.eventtype">EventType</a></td><td></td></tr><tr><td><a href="/api/puppeteer.flattenhandle">FlattenHandle</a></td><td></td></tr><tr><td><a href="/api/puppeteer.handlefor">HandleFor</a></td><td></td></tr><tr><td><a href="/api/puppeteer.handleor">HandleOr</a></td><td></td></tr><tr><td><a href="/api/puppeteer.handler">Handler</a></td><td></td></tr><tr><td><a href="/api/puppeteer.innerparams">InnerParams</a></td><td></td></tr><tr><td><a href="/api/puppeteer.interceptresolutionstrategy">InterceptResolutionStrategy</a></td><td></td></tr><tr><td><a href="/api/puppeteer.keyinput">KeyInput</a></td><td>All the valid keys that can be passed to functions that take user input, such as <a href="/api/puppeteer.keyboard.press">keyboard.press</a></td></tr><tr><td><a href="/api/puppeteer.lowercasepaperformat">LowerCasePaperFormat</a></td><td></td></tr><tr><td><a href="/api/puppeteer.mousebutton">MouseButton</a></td><td></td></tr><tr><td><a href="/api/puppeteer.paperformat">PaperFormat</a></td><td>All the valid paper format types when printing a PDF.</td></tr><tr><td><a href="/api/puppeteer.permission">Permission</a></td><td></td></tr><tr><td><a href="/api/puppeteer.platform">Platform</a></td><td>Supported platforms.</td></tr><tr><td><a href="/api/puppeteer.product">Product</a></td><td>Supported products.</td></tr><tr><td><a href="/api/puppeteer.protocollifecycleevent">ProtocolLifeCycleEvent</a></td><td></td></tr><tr><td><a href="/api/puppeteer.puppeteerlifecycleevent">PuppeteerLifeCycleEvent</a></td><td></td></tr><tr><td><a href="/api/puppeteer.puppeteernodelaunchoptions">PuppeteerNodeLaunchOptions</a></td><td>Utility type exposed to enable users to define options that can be passed to <code>puppeteer.launch</code> without having to list the set of all types.</td></tr><tr><td><a href="/api/puppeteer.resourcetype">ResourceType</a></td><td>Resource types for HTTPRequests as perceived by the rendering engine.</td></tr><tr><td><a href="/api/puppeteer.targetfiltercallback">TargetFilterCallback</a></td><td></td></tr></tbody></table></div></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/chromium-support"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">Chromium Support</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/api/puppeteer.accessibility"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Accessibility class</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#classes" class="table-of-contents__link toc-highlight">Classes</a></li><li><a href="#enumerations" class="table-of-contents__link toc-highlight">Enumerations</a></li><li><a href="#functions" class="table-of-contents__link toc-highlight">Functions</a></li><li><a href="#interfaces" class="table-of-contents__link toc-highlight">Interfaces</a></li><li><a href="#variables" class="table-of-contents__link toc-highlight">Variables</a></li><li><a href="#type-aliases" class="table-of-contents__link toc-highlight">Type Aliases</a></li></ul></div></div></div></div></main></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">Community</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://stackoverflow.com/questions/tagged/puppeteer" target="_blank" rel="noopener noreferrer" class="footer__link-item">Stack Overflow<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_lCJq"><path fill="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><li class="footer__item"><a href="https://twitter.com/chromedevtools" target="_blank" rel="noopener noreferrer" class="footer__link-item">Twitter<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_lCJq"><path fill="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><li class="footer__item"><a href="https://goo.gle/devtools-youtube" target="_blank" rel="noopener noreferrer" class="footer__link-item">YouTube<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_lCJq"><path fill="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></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2022 Google, Inc.</div></div></div></footer></div>
<script src="/assets/js/runtime~main.ff8181ea.js"></script>
<script src="/assets/js/main.3ba66628.js"></script>
</body>
</html>