<h2class="anchor anchorWithStickyNavbar_LWe7"id="classes">Classes<ahref="#classes"class="hash-link"aria-label="Direct link to Classes"title="Direct link to Classes"></a></h2>
<table><thead><tr><th><p>Class</p></th><th><p>Description</p></th></tr></thead><tbody><tr><td><p><ahref="/api/puppeteer.accessibility">Accessibility</a></p></td><td><p>The Accessibility class provides methods for inspecting the browser's accessibility tree. The accessibility tree is used by assistive technology such as <ahref="https://en.wikipedia.org/wiki/Screen_reader"target="_blank"rel="noopener noreferrer">screen readers</a> or <ahref="https://en.wikipedia.org/wiki/Switch_access"target="_blank"rel="noopener noreferrer">switches</a>.</p></td></tr><tr><td><p><ahref="/api/puppeteer.browser">Browser</a></p></td><td><p><ahref="/api/puppeteer.browser">Browser</a> represents a browser instance that is either:</p><ul>
<li>connected to via <ahref="/api/puppeteer.puppeteer.connect">Puppeteer.connect()</a> or - launched by <ahref="/api/puppeteer.puppeteernode.launch">PuppeteerNode.launch()</a>.</li>
</ul><p><ahref="/api/puppeteer.browser">Browser</a><ahref="/api/puppeteer.eventemitter">emits</a> various events which are documented in the <ahref="/api/puppeteer.browserevent">BrowserEvent</a> enum.</p></td></tr><tr><td><p><ahref="/api/puppeteer.browsercontext">BrowserContext</a></p></td><td><p><ahref="/api/puppeteer.browsercontext">BrowserContext</a> represents individual user contexts within a <ahref="/api/puppeteer.browser">browser</a>.</p><p>When a <ahref="/api/puppeteer.browser">browser</a> is launched, it has a single <ahref="/api/puppeteer.browsercontext">browser context</a> by default. Others can be created using <ahref="/api/puppeteer.browser.createbrowsercontext">Browser.createBrowserContext()</a>. Each context has isolated storage (cookies/localStorage/etc.)</p><p><ahref="/api/puppeteer.browsercontext">BrowserContext</a><ahref="/api/puppeteer.eventemitter">emits</a> various events which are documented in the <ahref="/api/puppeteer.browsercontextevent">BrowserContextEvent</a> enum.</p><p>If a <ahref="/api/puppeteer.page">page</a> opens another <ahref="/api/puppeteer.page">page</a>, e.g. using <code>window.open</code>, the popup will belong to the parent <ahref="/api/puppeteer.page.browsercontext">page's browser context</a>.</p></td></tr><tr><td><p><ahref="/api/puppeteer.cdpsession">CDPSession</a></p></td><td><p>The <code>CDPSession</code> instances are used to talk raw Chrome Devtools Protocol.</p></td></tr><tr><td><p><ahref="/api/puppeteer.connection">Connection</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.consolemessage">ConsoleMessage</a></p></td><td><p>ConsoleMessage objects are dispatched by page via the 'console' event.</p></td></tr><tr><td><p><ahref="/api/puppeteer.coverage">Coverage</a></p></td><td><p>The Coverage class provides methods to gather information about parts of JavaScript and CSS that were used by the page.</p></td></tr><tr><td><p><ahref="/api/puppeteer.csscoverage">CSSCoverage</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.devicerequestprompt">DeviceRequestPrompt</a></p></td><td><p>Device request prompts let you respond to the page requesting for a device through an API like WebBluetooth.</p></td></tr><tr><td><p><ahref="/api/puppeteer.devicerequestpromptdevice">DeviceRequestPromptDevice</a></p></td><td><p>Device in a request prompt.</p></td></tr><tr><td><p><ahref="/api/puppeteer.dialog">Dialog</a></p></td><td><p>Dialog instances are dispatched by the <ahref="/api/puppeteer.page">Page</a> via the <code>dialog</code> event.</p></td></tr><tr><td><p><ahref="/api/puppeteer.elementhandle">ElementHandle</a></p></td><td><p>ElementHandle represents an in-page DOM element.</p></td></tr><tr><td><p><ahref="/api/puppeteer.eventemitter">EventEmitter</a></p></td><td><p>The EventEmitter class that many Puppeteer classes extend.</p></td></tr><tr><td><p><ahref="/api/puppeteer.filechooser">FileChooser</a></p></td><td><p>File choosers let you react to the page requesting for a file.</p></td></tr><tr><td><p><ahref="/api/puppeteer.frame">Frame</a></p></td><td><p>Represents a DOM frame.</p><p>To understand frames, you can think of frames as <code><iframe></code> elements. Just like iframes, frames can be nested, and when JavaScript is executed in a frame, the JavaScript does not effect frames inside the ambient frame the JavaScript executes in.</p></td></tr><tr><td><p><ahref="/api/puppeteer.httprequest">HTTPRequest</a></p></td><td><p>Represents an HTTP request sent by a page.</p></td></tr><tr><td><p><ahref="/api/puppeteer.httpresponse">HTTPResponse</a></p></td><td><p>The HTTPResponse class represents responses which are received by the <ahref="/api/puppeteer.page">Page</a> class.</p></td></tr><tr><td><p><ahref="/api/puppeteer.jscoverage">JSCoverage</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.jshandle">JSHandle</a></p></td><td><p>Represents a reference to a JavaScript object. Instances can be created using <ahref="/api/puppeteer.page.evaluatehandle">Page.evaluateHandle()</a>.</p><p>Handles prevent the referenced
<h2class="anchor anchorWithStickyNavbar_LWe7"id="enumerations">Enumerations<ahref="#enumerations"class="hash-link"aria-label="Direct link to Enumerations"title="Direct link to Enumerations"></a></h2>
<table><thead><tr><th><p>Enumeration</p></th><th><p>Description</p></th></tr></thead><tbody><tr><td><p><ahref="/api/puppeteer.browsercontextevent">BrowserContextEvent</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.browserevent">BrowserEvent</a></p></td><td><p>All the events a <ahref="/api/puppeteer.browser">browser instance</a> may emit.</p></td></tr><tr><td><p><ahref="/api/puppeteer.interceptresolutionaction">InterceptResolutionAction</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.locatorevent">LocatorEvent</a></p></td><td><p>All the events that a locator instance may emit.</p></td></tr><tr><td><p><ahref="/api/puppeteer.pageevent">PageEvent</a></p></td><td><p>All the events that a page instance may emit.</p></td></tr><tr><td><p><ahref="/api/puppeteer.targettype">TargetType</a></p></td><td></td></tr></tbody></table>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="functions">Functions<ahref="#functions"class="hash-link"aria-label="Direct link to Functions"title="Direct link to Functions"></a></h2>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="interfaces">Interfaces<ahref="#interfaces"class="hash-link"aria-label="Direct link to Interfaces"title="Direct link to Interfaces"></a></h2>
<table><thead><tr><th><p>Interface</p></th><th><p>Description</p></th></tr></thead><tbody><tr><td><p><ahref="/api/puppeteer.actionoptions">ActionOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.autofilldata">AutofillData</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.boundingbox">BoundingBox</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.boxmodel">BoxModel</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.browserconnectoptions">BrowserConnectOptions</a></p></td><td><p>Generic browser options that can be passed when launching any browser or when connecting to an existing browser instance.</p></td></tr><tr><td><p><ahref="/api/puppeteer.browsercontextevents">BrowserContextEvents</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.browsercontextoptions">BrowserContextOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.browserevents">BrowserEvents</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.browserlaunchargumentoptions">BrowserLaunchArgumentOptions</a></p></td><td><p>Launcher options that only apply to Chrome.</p></td></tr><tr><td><p><ahref="/api/puppeteer.cdpsessionevents">CDPSessionEvents</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.clickoptions">ClickOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.commandoptions">CommandOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.commoneventemitter">CommonEventEmitter</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.configuration">Configuration</a></p></td><td><p>Defines options to configure Puppeteer's behavior during installation and runtime.</p><p>See individual properties for more information.</p></td></tr><tr><td><p><ahref="/api/puppeteer.connectiontransport">ConnectionTransport</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.connectoptions">ConnectOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.consolemessagelocation">ConsoleMessageLocation</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.continuerequestoverrides">ContinueRequestOverrides</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.cookie">Cookie</a></p></td><td><p>Represents a cookie object.</p></td></tr><tr><td><p><ahref="/api/puppeteer.cookieparam">CookieParam</a></p></td><td><p>Cookie parameter object</p></td></tr><tr><td><p><ahref="/api/puppeteer.coverageentry">CoverageEntry</a></p></td><td><p>The CoverageEntry class represents one entry of the coverage report.</p></td></tr><tr><td><p><ahref="/api/puppeteer.credentials">Credentials</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.csscoverageoptions">CSSCoverageOptions</a></p></td><td><p>Set of configurable options for CSS coverage.</p></td></tr><tr><td><p><ahref="/api/puppeteer.customqueryhandler">CustomQueryHandler</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.debuginfo">DebugInfo</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.deletecookiesrequest">DeleteCookiesRequest</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.device">Device</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.elementscreenshotoptions">ElementScreenshotOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.frameaddscripttagoptions">FrameAddScriptTagOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.frameaddstyletagoptions">FrameAddStyleTagOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.frameevents">FrameEvents</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.framewaitforfunctionoptions">FrameWaitForFunctionOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.geolocationoptions">GeolocationOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.gotooptions">GoToOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.interceptresolutionstate">InterceptResolutionState</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.internalnetworkconditions">InternalNetworkConditions</a></p></td><t
<h2class="anchor anchorWithStickyNavbar_LWe7"id="namespaces">Namespaces<ahref="#namespaces"class="hash-link"aria-label="Direct link to Namespaces"title="Direct link to Namespaces"></a></h2>
<table><thead><tr><th><p>Namespace</p></th><th><p>Description</p></th></tr></thead><tbody><tr><td><p><ahref="/api/puppeteer.cdpsessionevent">CDPSessionEvent</a></p></td><td><p>Events that the CDPSession class emits.</p></td></tr></tbody></table>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="variables">Variables<ahref="#variables"class="hash-link"aria-label="Direct link to Variables"title="Direct link to Variables"></a></h2>
<table><thead><tr><th><p>Variable</p></th><th><p>Description</p></th></tr></thead><tbody><tr><td><p><ahref="/api/puppeteer.default_intercept_resolution_priority">DEFAULT_INTERCEPT_RESOLUTION_PRIORITY</a></p></td><td><p>The default cooperative request interception resolution priority</p></td></tr><tr><td><p><ahref="/api/puppeteer.knowndevices">KnownDevices</a></p></td><td><p>A list of devices to be used with <ahref="/api/puppeteer.page.emulate">Page.emulate()</a>.</p></td></tr><tr><td><p><ahref="/api/puppeteer.mousebutton">MouseButton</a></p></td><td><p>Enum of valid mouse buttons.</p></td></tr><tr><td><p><ahref="/api/puppeteer.predefinednetworkconditions">PredefinedNetworkConditions</a></p></td><td><p>A list of network conditions to be used with <ahref="/api/puppeteer.page.emulatenetworkconditions">Page.emulateNetworkConditions()</a>.</p></td></tr><tr><td><p><ahref="/api/puppeteer.puppeteer">puppeteer</a></p></td><td></td></tr></tbody></table>
<h2class="anchor anchorWithStickyNavbar_LWe7"id="type-aliases">Type Aliases<ahref="#type-aliases"class="hash-link"aria-label="Direct link to Type Aliases"title="Direct link to Type Aliases"></a></h2>
<table><thead><tr><th><p>Type Alias</p></th><th><p>Description</p></th></tr></thead><tbody><tr><td><p><ahref="/api/puppeteer.actionresult">ActionResult</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.awaitable">Awaitable</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.awaitableiterable">AwaitableIterable</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.awaitablepredicate">AwaitablePredicate</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.awaitedlocator">AwaitedLocator</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.cdpevents">CDPEvents</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.chromereleasechannel">ChromeReleaseChannel</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.consolemessagetype">ConsoleMessageType</a></p></td><td><p>The supported types for console messages.</p></td></tr><tr><td><p><ahref="/api/puppeteer.cookiepriority">CookiePriority</a></p></td><td><p>Represents the cookie's 'Priority' status: <ahref="https://tools.ietf.org/html/draft-west-cookie-priority-00"target="_blank"rel="noopener noreferrer">https://tools.ietf.org/html/draft-west-cookie-priority-00</a></p></td></tr><tr><td><p><ahref="/api/puppeteer.cookiesamesite">CookieSameSite</a></p></td><td><p>Represents the cookie's 'SameSite' status: <ahref="https://tools.ietf.org/html/draft-west-first-party-cookies"target="_blank"rel="noopener noreferrer">https://tools.ietf.org/html/draft-west-first-party-cookies</a></p></td></tr><tr><td><p><ahref="/api/puppeteer.cookiesourcescheme">CookieSourceScheme</a></p></td><td><p>Represents the source scheme of the origin that originally set the cookie. A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme. This is a temporary ability and it will be removed in the future.</p></td></tr><tr><td><p><ahref="/api/puppeteer.elementfor">ElementFor</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.errorcode">ErrorCode</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.evaluatefunc">EvaluateFunc</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.evaluatefuncwith">EvaluateFuncWith</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.eventswithwildcard">EventsWithWildcard</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.eventtype">EventType</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.experimentsconfiguration">ExperimentsConfiguration</a></p></td><td><p>Defines experiment options for Puppeteer.</p><p>See individual properties for more information.</p></td></tr><tr><td><p><ahref="/api/puppeteer.flattenhandle">FlattenHandle</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.handlefor">HandleFor</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.handleor">HandleOr</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.handler">Handler</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.innerparams">InnerParams</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.keyinput">KeyInput</a></p></td><td><p>All the valid keys that can be passed to functions that take user input, such as <ahref="/api/puppeteer.keyboard.press">keyboard.press</a></p></td></tr><tr><td><p><ahref="/api/puppeteer.keypressoptions">KeyPressOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.locatorclickoptions">LocatorClickOptions</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.lowercasepaperformat">LowerCasePaperFormat</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.mapper">Mapper</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.mousebutton">MouseButton</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.nodefor">NodeFor</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.paperformat">PaperFormat</a></p></td><td><p>All the valid paper format types when printing a PDF.</p></td></tr><tr><td><p><ahref="/api/puppeteer.permission">Permission</a></p></td><td></td></tr><tr><td><p><ahref="/api/puppeteer.predicate">P