mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
17 lines
81 KiB
HTML
17 lines
81 KiB
HTML
<!doctype html>
|
||
<html lang="en" dir="ltr" class="docs-wrapper docs-doc-page docs-version-15.3.0 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">API Reference | Puppeteer</title><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pptr.dev/15.3.0/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="15.3.0"><meta data-rh="true" name="docusaurus_tag" content="docs-default-15.3.0"><meta data-rh="true" name="docsearch:version" content="15.3.0"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-15.3.0"><meta data-rh="true" property="og:title" content="API Reference | 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/15.3.0/api/"><link data-rh="true" rel="alternate" href="https://pptr.dev/15.3.0/api/" hreflang="en"><link data-rh="true" rel="alternate" href="https://pptr.dev/15.3.0/api/" hreflang="x-default"><link rel="stylesheet" href="/assets/css/styles.39576fb3.css">
|
||
<link rel="preload" href="/assets/js/runtime~main.de3a7151.js" as="script">
|
||
<link rel="preload" href="/assets/js/main.af593991.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"><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a aria-current="page" class="navbar__link active" aria-haspopup="true" aria-expanded="false" role="button" href="/15.3.0/">15.3.0</a><ul class="dropdown__menu"><li><a class="dropdown__link" href="/next/api/">Next</a></li><li><a class="dropdown__link" href="/api/">15.3.2</a></li><li><a class="dropdown__link" href="/15.3.1/api/">15.3.1</a></li><li><a aria-current="page" class="dropdown__link dropdown__link--active" href="/15.3.0/api/">15.3.0</a></li></ul></div><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="/15.3.0/">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="/15.3.0/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="/15.3.0/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="/15.3.0/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="/15.3.0/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="/15.3.0/api/">API</a><button aria-label="Toggle the collapsible sidebar category 'API'" 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="/15.3.0/api/puppeteer.accessibility">Accessibility</a><button aria-label="Toggle the collapsible sidebar category 'Accessibility'" 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="/15.3.0/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="/15.3.0/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="/15.3.0/api/puppeteer.boundingbox">BoundingBox</a><button aria-label="Toggle the collapsible sidebar category 'BoundingBox'" 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="/15.3.0/api/puppeteer.boxmodel">BoxModel</a><button aria-label="Toggle the collapsible sidebar category 'BoxModel'" 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="/15.3.0/api/puppeteer.browser">Browser</a><button aria-label="Toggle the collapsible sidebar category 'Browser'" 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="/15.3.0/api/puppeteer.browserconnectoptions">BrowserConnectOptions</a><button aria-label="Toggle the collapsible sidebar category 'BrowserConnectOptions'" 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="/15.3.0/api/puppeteer.browsercontext">BrowserContext</a><button aria-label="Toggle the collapsible sidebar category 'BrowserContext'" 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="/15.3.0/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="/15.3.0/api/puppeteer.browsercontextoptions">BrowserContextOptions</a><button aria-label="Toggle the collapsible sidebar category 'BrowserContextOptions'" 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="/15.3.0/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="/15.3.0/api/puppeteer.browserfetcher">BrowserFetcher</a><button aria-label="Toggle the collapsible sidebar category 'BrowserFetcher'" 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="/15.3.0/api/puppeteer.browserfetcheroptions">BrowserFetcherOptions</a><button aria-label="Toggle the collapsible sidebar category 'BrowserFetcherOptions'" 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="/15.3.0/api/puppeteer.browserfetcherrevisioninfo">BrowserFetcherRevisionInfo</a><button aria-label="Toggle the collapsible sidebar category 'BrowserFetcherRevisionInfo'" 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="/15.3.0/api/puppeteer.browserlaunchargumentoptions">BrowserLaunchArgumentOptions</a><button aria-label="Toggle the collapsible sidebar category 'BrowserLaunchArgumentOptions'" 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="/15.3.0/api/puppeteer.cdpsession">CDPSession</a><button aria-label="Toggle the collapsible sidebar category 'CDPSession'" 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="/15.3.0/api/puppeteer.cdpsessiononmessageobject">CDPSessionOnMessageObject</a><button aria-label="Toggle the collapsible sidebar category 'CDPSessionOnMessageObject'" 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="/15.3.0/api/puppeteer.csscoverage">CSSCoverage</a><button aria-label="Toggle the collapsible sidebar category 'CSSCoverage'" 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="/15.3.0/api/puppeteer.csscoverageoptions">CSSCoverageOptions</a><button aria-label="Toggle the collapsible sidebar category 'CSSCoverageOptions'" 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="/15.3.0/api/puppeteer.chromereleasechannel">ChromeReleaseChannel</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="/15.3.0/api/puppeteer.clickoptions">ClickOptions</a><button aria-label="Toggle the collapsible sidebar category 'ClickOptions'" 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="/15.3.0/api/puppeteer.commoneventemitter">CommonEventEmitter</a><button aria-label="Toggle the collapsible sidebar category 'CommonEventEmitter'" 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="/15.3.0/api/puppeteer.connectoptions">ConnectOptions</a><button aria-label="Toggle the collapsible sidebar category 'ConnectOptions'" 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="/15.3.0/api/puppeteer.connection">Connection</a><button aria-label="Toggle the collapsible sidebar category 'Connection'" 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="/15.3.0/api/puppeteer.connectioncallback">ConnectionCallback</a><button aria-label="Toggle the collapsible sidebar category 'ConnectionCallback'" 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="/15.3.0/api/puppeteer.connectiontransport">ConnectionTransport</a><button aria-label="Toggle the collapsible sidebar category 'ConnectionTransport'" 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="/15.3.0/api/puppeteer.consolemessage">ConsoleMessage</a><button aria-label="Toggle the collapsible sidebar category 'ConsoleMessage'" 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="/15.3.0/api/puppeteer.consolemessagelocation">ConsoleMessageLocation</a><button aria-label="Toggle the collapsible sidebar category 'ConsoleMessageLocation'" 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="/15.3.0/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="/15.3.0/api/puppeteer.continuerequestoverrides">ContinueRequestOverrides</a><button aria-label="Toggle the collapsible sidebar category 'ContinueRequestOverrides'" 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="/15.3.0/api/puppeteer.coverage">Coverage</a><button aria-label="Toggle the collapsible sidebar category 'Coverage'" 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="/15.3.0/api/puppeteer.coverageentry">CoverageEntry</a><button aria-label="Toggle the collapsible sidebar category 'CoverageEntry'" 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="/15.3.0/api/puppeteer.credentials">Credentials</a><button aria-label="Toggle the collapsible sidebar category 'Credentials'" 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="/15.3.0/api/puppeteer.customerror">CustomError</a><button aria-label="Toggle the collapsible sidebar category 'CustomError'" 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="/15.3.0/api/puppeteer.customqueryhandler">CustomQueryHandler</a><button aria-label="Toggle the collapsible sidebar category 'CustomQueryHandler'" 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="/15.3.0/api/puppeteer.default_intercept_resolution_priority">DEFAULT_INTERCEPT_RESOLUTION_PRIORITY</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="/15.3.0/api/puppeteer.device">Device</a><button aria-label="Toggle the collapsible sidebar category 'Device'" 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="/15.3.0/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="/15.3.0/api/puppeteer.dialog">Dialog</a><button aria-label="Toggle the collapsible sidebar category 'Dialog'" 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="/15.3.0/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="/15.3.0/api/puppeteer.elementhandle">ElementHandle</a><button aria-label="Toggle the collapsible sidebar category 'ElementHandle'" 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="/15.3.0/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="/15.3.0/api/puppeteer.evaluatefunc">EvaluateFunc</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="/15.3.0/api/puppeteer.eventemitter">EventEmitter</a><button aria-label="Toggle the collapsible sidebar category 'EventEmitter'" 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="/15.3.0/api/puppeteer.eventtype">EventType</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="/15.3.0/api/puppeteer.executioncontext">ExecutionContext</a><button aria-label="Toggle the collapsible sidebar category 'ExecutionContext'" 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="/15.3.0/api/puppeteer.filechooser">FileChooser</a><button aria-label="Toggle the collapsible sidebar category 'FileChooser'" 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="/15.3.0/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="/15.3.0/api/puppeteer.frame">Frame</a><button aria-label="Toggle the collapsible sidebar category 'Frame'" 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="/15.3.0/api/puppeteer.frameaddscripttagoptions">FrameAddScriptTagOptions</a><button aria-label="Toggle the collapsible sidebar category 'FrameAddScriptTagOptions'" 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="/15.3.0/api/puppeteer.frameaddstyletagoptions">FrameAddStyleTagOptions</a><button aria-label="Toggle the collapsible sidebar category 'FrameAddStyleTagOptions'" 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="/15.3.0/api/puppeteer.framewaitforfunctionoptions">FrameWaitForFunctionOptions</a><button aria-label="Toggle the collapsible sidebar category 'FrameWaitForFunctionOptions'" 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="/15.3.0/api/puppeteer.geolocationoptions">GeolocationOptions</a><button aria-label="Toggle the collapsible sidebar category 'GeolocationOptions'" 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="/15.3.0/api/puppeteer.httprequest">HTTPRequest</a><button aria-label="Toggle the collapsible sidebar category 'HTTPRequest'" 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="/15.3.0/api/puppeteer.httpresponse">HTTPResponse</a><button aria-label="Toggle the collapsible sidebar category 'HTTPResponse'" 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="/15.3.0/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="/15.3.0/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="/15.3.0/api/puppeteer.handler">Handler</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="/15.3.0/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="/15.3.0/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="/15.3.0/api/puppeteer.interceptresolutionstate">InterceptResolutionState</a><button aria-label="Toggle the collapsible sidebar category 'InterceptResolutionState'" 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="/15.3.0/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="/15.3.0/api/puppeteer.internalnetworkconditions">InternalNetworkConditions</a><button aria-label="Toggle the collapsible sidebar category 'InternalNetworkConditions'" 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="/15.3.0/api/puppeteer.jscoverage">JSCoverage</a><button aria-label="Toggle the collapsible sidebar category 'JSCoverage'" 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="/15.3.0/api/puppeteer.jscoverageentry">JSCoverageEntry</a><button aria-label="Toggle the collapsible sidebar category 'JSCoverageEntry'" 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="/15.3.0/api/puppeteer.jscoverageoptions">JSCoverageOptions</a><button aria-label="Toggle the collapsible sidebar category 'JSCoverageOptions'" 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="/15.3.0/api/puppeteer.jshandle">JSHandle</a><button aria-label="Toggle the collapsible sidebar category 'JSHandle'" 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="/15.3.0/api/puppeteer.keyinput">KeyInput</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="/15.3.0/api/puppeteer.keyboard">Keyboard</a><button aria-label="Toggle the collapsible sidebar category 'Keyboard'" 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="/15.3.0/api/puppeteer.launchoptions">LaunchOptions</a><button aria-label="Toggle the collapsible sidebar category 'LaunchOptions'" 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="/15.3.0/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="/15.3.0/api/puppeteer.mediafeature">MediaFeature</a><button aria-label="Toggle the collapsible sidebar category 'MediaFeature'" 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="/15.3.0/api/puppeteer.metrics">Metrics</a><button aria-label="Toggle the collapsible sidebar category 'Metrics'" 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="/15.3.0/api/puppeteer.mouse">Mouse</a><button aria-label="Toggle the collapsible sidebar category 'Mouse'" 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="/15.3.0/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="/15.3.0/api/puppeteer.mouseoptions">MouseOptions</a><button aria-label="Toggle the collapsible sidebar category 'MouseOptions'" 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="/15.3.0/api/puppeteer.mousewheeloptions">MouseWheelOptions</a><button aria-label="Toggle the collapsible sidebar category 'MouseWheelOptions'" 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 menu__link--sublist-caret" aria-expanded="false" tabindex="0" href="/15.3.0/api/puppeteer.networkconditions.download">NetworkConditions</a></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="/15.3.0/api/puppeteer.offset">Offset</a><button aria-label="Toggle the collapsible sidebar category 'Offset'" 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="/15.3.0/api/puppeteer.pdfmargin">PDFMargin</a><button aria-label="Toggle the collapsible sidebar category 'PDFMargin'" 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="/15.3.0/api/puppeteer.pdfoptions">PDFOptions</a><button aria-label="Toggle the collapsible sidebar category 'PDFOptions'" 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="/15.3.0/api/puppeteer.page">Page</a><button aria-label="Toggle the collapsible sidebar category 'Page'" 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="/15.3.0/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="/15.3.0/api/puppeteer.pageeventobject">PageEventObject</a><button aria-label="Toggle the collapsible sidebar category 'PageEventObject'" 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="/15.3.0/api/puppeteer.paperformat">PaperFormat</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="/15.3.0/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="/15.3.0/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="/15.3.0/api/puppeteer.point">Point</a><button aria-label="Toggle the collapsible sidebar category 'Point'" 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="/15.3.0/api/puppeteer.pressoptions">PressOptions</a><button aria-label="Toggle the collapsible sidebar category 'PressOptions'" 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="/15.3.0/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="/15.3.0/api/puppeteer.productlauncher">ProductLauncher</a><button aria-label="Toggle the collapsible sidebar category 'ProductLauncher'" 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="/15.3.0/api/puppeteer.protocolerror">ProtocolError</a><button aria-label="Toggle the collapsible sidebar category 'ProtocolError'" 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="/15.3.0/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="/15.3.0/api/puppeteer.puppeteer">Puppeteer</a><button aria-label="Toggle the collapsible sidebar category 'Puppeteer'" 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="/15.3.0/api/puppeteer.puppeteererrors">PuppeteerErrors</a><button aria-label="Toggle the collapsible sidebar category 'PuppeteerErrors'" 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="/15.3.0/api/puppeteer.puppeteerlaunchoptions">PuppeteerLaunchOptions</a><button aria-label="Toggle the collapsible sidebar category 'PuppeteerLaunchOptions'" 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="/15.3.0/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="/15.3.0/api/puppeteer.puppeteernode">PuppeteerNode</a><button aria-label="Toggle the collapsible sidebar category 'PuppeteerNode'" 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="/15.3.0/api/puppeteer.puppeteernodelaunchoptions">PuppeteerNodeLaunchOptions</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="/15.3.0/api/puppeteer.remoteaddress">RemoteAddress</a><button aria-label="Toggle the collapsible sidebar category 'RemoteAddress'" 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="/15.3.0/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="/15.3.0/api/puppeteer.responseforrequest">ResponseForRequest</a><button aria-label="Toggle the collapsible sidebar category 'ResponseForRequest'" 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="/15.3.0/api/puppeteer.screenshotclip">ScreenshotClip</a><button aria-label="Toggle the collapsible sidebar category 'ScreenshotClip'" 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="/15.3.0/api/puppeteer.screenshotoptions">ScreenshotOptions</a><button aria-label="Toggle the collapsible sidebar category 'ScreenshotOptions'" 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="/15.3.0/api/puppeteer.securitydetails">SecurityDetails</a><button aria-label="Toggle the collapsible sidebar category 'SecurityDetails'" 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="/15.3.0/api/puppeteer.serializedaxnode">SerializedAXNode</a><button aria-label="Toggle the collapsible sidebar category 'SerializedAXNode'" 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="/15.3.0/api/puppeteer.snapshotoptions">SnapshotOptions</a><button aria-label="Toggle the collapsible sidebar category 'SnapshotOptions'" 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="/15.3.0/api/puppeteer.target">Target</a><button aria-label="Toggle the collapsible sidebar category 'Target'" 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="/15.3.0/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="/15.3.0/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="/15.3.0/api/puppeteer.touchscreen">Touchscreen</a><button aria-label="Toggle the collapsible sidebar category 'Touchscreen'" 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="/15.3.0/api/puppeteer.tracing">Tracing</a><button aria-label="Toggle the collapsible sidebar category 'Tracing'" 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="/15.3.0/api/puppeteer.tracingoptions">TracingOptions</a><button aria-label="Toggle the collapsible sidebar category 'TracingOptions'" 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="/15.3.0/api/puppeteer.viewport">Viewport</a><button aria-label="Toggle the collapsible sidebar category 'Viewport'" 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="/15.3.0/api/puppeteer.waitforoptions">WaitForOptions</a><button aria-label="Toggle the collapsible sidebar category 'WaitForOptions'" 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="/15.3.0/api/puppeteer.waitforselectoroptions">WaitForSelectorOptions</a><button aria-label="Toggle the collapsible sidebar category 'WaitForSelectorOptions'" 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="/15.3.0/api/puppeteer.waitfortargetoptions">WaitForTargetOptions</a><button aria-label="Toggle the collapsible sidebar category 'WaitForTargetOptions'" 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="/15.3.0/api/puppeteer.waittimeoutoptions">WaitTimeoutOptions</a><button aria-label="Toggle the collapsible sidebar category 'WaitTimeoutOptions'" 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="/15.3.0/api/puppeteer.webworker">WebWorker</a><button aria-label="Toggle the collapsible sidebar category 'WebWorker'" 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="/15.3.0/api/puppeteer.clearcustomqueryhandlers">clearCustomQueryHandlers</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="/15.3.0/api/puppeteer.connect">connect</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="/15.3.0/api/puppeteer.createbrowserfetcher">createBrowserFetcher</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="/15.3.0/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="/15.3.0/api/puppeteer.defaultargs">defaultArgs</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="/15.3.0/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="/15.3.0/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="/15.3.0/api/puppeteer.executablepath">executablePath</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="/15.3.0/api/puppeteer.launch">launch</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="/15.3.0/api/puppeteer.networkconditions">networkConditions</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="/15.3.0/api/puppeteer.registercustomqueryhandler">registerCustomQueryHandler</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="/15.3.0/api/puppeteer.unregistercustomqueryhandler">unregisterCustomQueryHandler</a></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="theme-doc-version-banner alert alert--warning margin-bottom--md" role="alert"><div>This is documentation for <!-- -->Puppeteer<!-- --> <b>15.3.0</b>, which is no longer actively maintained.</div><div class="margin-top--md">For up-to-date documentation, see the <b><a href="/api/">latest version</a></b> (<!-- -->15.3.2<!-- -->).</div></div><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><span class="theme-doc-version-badge badge badge--secondary">Version: 15.3.0</span><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>API Reference</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="/15.3.0/api/puppeteer.accessibility">Accessibility</a></td><td>The Accessibility class provides methods for inspecting Chromium'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="/15.3.0/api/puppeteer.browser">Browser</a></td><td>A Browser is created when Puppeteer connects to a Chromium instance, either through <a href="/15.3.0/api/puppeteer.puppeteernode.launch">PuppeteerNode.launch()</a> or <a href="/15.3.0/api/puppeteer.puppeteer.connect">Puppeteer.connect()</a>.</td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.browser.newpage">Browser.newPage</a> creates a page in the default browser context.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.browserfetcher">BrowserFetcher</a></td><td>BrowserFetcher can download and manage different versions of Chromium and Firefox.</td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.connection">Connection</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.consolemessage">ConsoleMessage</a></td><td>ConsoleMessage objects are dispatched by page via the 'console' event.</td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.csscoverage">CSSCoverage</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.customerror">CustomError</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.dialog">Dialog</a></td><td>Dialog instances are dispatched by the <a href="/15.3.0/api/puppeteer.page">Page</a> via the <code>dialog</code> event.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.elementhandle">ElementHandle</a></td><td>ElementHandle represents an in-page DOM element.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.eventemitter">EventEmitter</a></td><td>The EventEmitter class that many Puppeteer classes extend.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.executioncontext">ExecutionContext</a></td><td><p>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 "default" execution context that is always created after frame is attached to DOM. This context is returned by the <a href="/15.3.0/api/puppeteer.frame.executioncontext">Frame.executionContext()</a> method. - <a href="https://developer.chrome.com/extensions" target="_blank" rel="noopener noreferrer">Extension</a>'s content scripts create additional execution contexts.</p><p>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>.</p></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.frame">Frame</a></td><td>At every point of time, page exposes its current frame tree via the <a href="/15.3.0/api/puppeteer.page.mainframe">page.mainFrame</a> and <a href="/15.3.0/api/puppeteer.frame.childframes">frame.childFrames</a> methods.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.httprequest">HTTPRequest</a></td><td>Represents an HTTP request sent by a page.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.httpresponse">HTTPResponse</a></td><td>The HTTPResponse class represents responses which are received by the <a href="/15.3.0/api/puppeteer.page">Page</a> class.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.jscoverage">JSCoverage</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.jshandle">JSHandle</a></td><td>Represents an in-page JavaScript object. JSHandles can be created with the <a href="/15.3.0/api/puppeteer.page.evaluatehandle">page.evaluateHandle</a> method.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.keyboard">Keyboard</a></td><td>Keyboard provides an api for managing a virtual keyboard. The high level api is <a href="/15.3.0/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="/15.3.0/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="/15.3.0/api/puppeteer.page">Page</a></td><td><p>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.</p><p>:::note</p><p>One Browser instance might have multiple Page instances.</p><p>:::</p></td></tr><tr><td><a href="/15.3.0/api/puppeteer.protocolerror">ProtocolError</a></td><td>ProtocolError is emitted whenever there is an error from the protocol.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.puppeteer">Puppeteer</a></td><td><p>The main Puppeteer class.</p><p>IMPORTANT: if you are using Puppeteer in a Node environment, you will get an instance of <a href="/15.3.0/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="/15.3.0/api/puppeteer.puppeteernode">PuppeteerNode</a>.</p></td></tr><tr><td><a href="/15.3.0/api/puppeteer.puppeteernode">PuppeteerNode</a></td><td><p>Extends the main <a href="/15.3.0/api/puppeteer.puppeteer">Puppeteer</a> class with Node specific behaviour for fetching and downloading browsers.</p><p>If you're using Puppeteer in a Node environment, this is the class you'll get when you run <code>require('puppeteer')</code> (or the equivalent ES <code>import</code>).</p></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.target">Target</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.timeouterror">TimeoutError</a></td><td>TimeoutError is emitted whenever certain operations are terminated due to timeout.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.touchscreen">Touchscreen</a></td><td>The Touchscreen class exposes touchscreen events.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.tracing">Tracing</a></td><td>The Tracing class exposes the tracing audit interface.</td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.browsercontextemittedevents">BrowserContextEmittedEvents</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.browseremittedevents">BrowserEmittedEvents</a></td><td>All the events a <a href="/15.3.0/api/puppeteer.browser">browser instance</a> may emit.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.interceptresolutionaction">InterceptResolutionAction</a></td><td></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.clearcustomqueryhandlers">clearCustomQueryHandlers()</a></td><td>Clears all registered handlers.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.customqueryhandlernames">customQueryHandlerNames()</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.registercustomqueryhandler">registerCustomQueryHandler(name, handler)</a></td><td>Registers a <a href="/15.3.0/api/puppeteer.customqueryhandler">custom query handler</a>.</td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.boundingbox">BoundingBox</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.boxmodel">BoxModel</a></td><td></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.browsercontextoptions">BrowserContextOptions</a></td><td>BrowserContext options.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.browserfetcheroptions">BrowserFetcherOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.browserfetcherrevisioninfo">BrowserFetcherRevisionInfo</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.browserlaunchargumentoptions">BrowserLaunchArgumentOptions</a></td><td>Launcher options that only apply to Chrome.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.cdpsessiononmessageobject">CDPSessionOnMessageObject</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.clickoptions">ClickOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.commoneventemitter">CommonEventEmitter</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.connectioncallback">ConnectionCallback</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.connectiontransport">ConnectionTransport</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.connectoptions">ConnectOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.consolemessagelocation">ConsoleMessageLocation</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.continuerequestoverrides">ContinueRequestOverrides</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.coverageentry">CoverageEntry</a></td><td>The CoverageEntry class represents one entry of the coverage report.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.credentials">Credentials</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.csscoverageoptions">CSSCoverageOptions</a></td><td>Set of configurable options for CSS coverage.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.customqueryhandler">CustomQueryHandler</a></td><td>Contains two functions <code>queryOne</code> and <code>queryAll</code> that can be <a href="/15.3.0/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<!-- --><<!-- -->Element<!-- -->></code> or <code>Array<!-- --><<!-- -->Element<!-- -->></code> with all the elements that match the given query selector.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.device">Device</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.frameaddscripttagoptions">FrameAddScriptTagOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.frameaddstyletagoptions">FrameAddStyleTagOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.framewaitforfunctionoptions">FrameWaitForFunctionOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.geolocationoptions">GeolocationOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.interceptresolutionstate">InterceptResolutionState</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.internalnetworkconditions">InternalNetworkConditions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.jscoverageentry">JSCoverageEntry</a></td><td>The CoverageEntry class for JavaScript</td></tr><tr><td><a href="/15.3.0/api/puppeteer.jscoverageoptions">JSCoverageOptions</a></td><td>Set of configurable options for JS coverage.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.launchoptions">LaunchOptions</a></td><td>Generic launch options that can be passed when launching any browser.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.mediafeature">MediaFeature</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.metrics">Metrics</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.mouseoptions">MouseOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.mousewheeloptions">MouseWheelOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.networkconditions">NetworkConditions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.offset">Offset</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.pageeventobject">PageEventObject</a></td><td><p>Denotes the objects received by callback functions for page events.</p><p>See <a href="/15.3.0/api/puppeteer.pageemittedevents">PageEmittedEvents</a> for more detail on the events and when they are emitted.</p></td></tr><tr><td><a href="/15.3.0/api/puppeteer.pdfmargin">PDFMargin</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.pdfoptions">PDFOptions</a></td><td>Valid options to configure PDF generation via <a href="/15.3.0/api/puppeteer.page.pdf">Page.pdf()</a>.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.point">Point</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.pressoptions">PressOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.puppeteererrors">PuppeteerErrors</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.puppeteerlaunchoptions">PuppeteerLaunchOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.remoteaddress">RemoteAddress</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.responseforrequest">ResponseForRequest</a></td><td>Required response data to fulfill a request with.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.screenshotclip">ScreenshotClip</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.screenshotoptions">ScreenshotOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.snapshotoptions">SnapshotOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.tracingoptions">TracingOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.viewport">Viewport</a></td><td>Sets the viewport of the page.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.waitforoptions">WaitForOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.waitforselectoroptions">WaitForSelectorOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.waitfortargetoptions">WaitForTargetOptions</a></td><td></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.connect">connect</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.createbrowserfetcher">createBrowserFetcher</a></td><td></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.defaultargs">defaultArgs</a></td><td></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.errors">errors</a></td><td><p>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't match any nodes during the given timeframe.</p><p>For certain types of errors Puppeteer uses specific error classes. These classes are available via <code>puppeteer.errors</code>.</p></td></tr><tr><td><a href="/15.3.0/api/puppeteer.evaluation_script_url">EVALUATION_SCRIPT_URL</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.executablepath">executablePath</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.launch">launch</a></td><td></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.actionresult">ActionResult</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.awaitable">Awaitable</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.chromereleasechannel">ChromeReleaseChannel</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.consolemessagetype">ConsoleMessageType</a></td><td>The supported types for console messages.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.devicesmap">DevicesMap</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.errorcode">ErrorCode</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.evaluatefunc">EvaluateFunc</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.eventtype">EventType</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.flattenhandle">FlattenHandle</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.handlefor">HandleFor</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.handleor">HandleOr</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.handler">Handler</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.innerparams">InnerParams</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.interceptresolutionstrategy">InterceptResolutionStrategy</a></td><td></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.keyboard.press">keyboard.press</a></td></tr><tr><td><a href="/15.3.0/api/puppeteer.lowercasepaperformat">LowerCasePaperFormat</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.mousebutton">MouseButton</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.paperformat">PaperFormat</a></td><td>All the valid paper format types when printing a PDF.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.permission">Permission</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.platform">Platform</a></td><td>Supported platforms.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.product">Product</a></td><td>Supported products.</td></tr><tr><td><a href="/15.3.0/api/puppeteer.protocollifecycleevent">ProtocolLifeCycleEvent</a></td><td></td></tr><tr><td><a href="/15.3.0/api/puppeteer.puppeteerlifecycleevent">PuppeteerLifeCycleEvent</a></td><td></td></tr><tr><td><a href="/15.3.0/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="/15.3.0/api/puppeteer.resourcetype">ResourceType</a></td><td>Resource types for HTTPRequests as perceived by the rendering engine.</td></tr><tr><td><a href="/15.3.0/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="/15.3.0/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="/15.3.0/api/puppeteer.accessibility"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Accessibility</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.de3a7151.js"></script>
|
||
<script src="/assets/js/main.af593991.js"></script>
|
||
</body>
|
||
</html> |