<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>Class</th><th>Description</th></tr></thead><tbody><tr><td><ahref="/next/api/puppeteer.accessibility">Accessibility</a></td><td>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>.</td></tr><tr><td><ahref="/next/api/puppeteer.browser">Browser</a></td><td><p><ahref="/next/api/puppeteer.browser">Browser</a> represents a browser instance that is either:</p><p>- connected to via <ahref="/next/api/puppeteer.puppeteer.connect">Puppeteer.connect()</a> or - launched by <ahref="/next/api/puppeteer.puppeteernode.launch">PuppeteerNode.launch()</a>.</p><p><ahref="/next/api/puppeteer.browser">Browser</a><ahref="/next/api/puppeteer.eventemitter">emits</a> various events which are documented in the <ahref="/next/api/puppeteer.browserevent">BrowserEvent</a> enum.</p></td></tr><tr><td><ahref="/next/api/puppeteer.browsercontext">BrowserContext</a></td><td><p><ahref="/next/api/puppeteer.browsercontext">BrowserContext</a> represents individual user contexts within a <ahref="/next/api/puppeteer.browser">browser</a>.</p><p>When a <ahref="/next/api/puppeteer.browser">browser</a> is launched, it has a single <ahref="/next/api/puppeteer.browsercontext">browser context</a> by default. Others can be created using <ahref="/next/api/puppeteer.browser.createbrowsercontext">Browser.createBrowserContext()</a>. Each context has isolated storage (cookies/localStorage/etc.)</p><p><ahref="/next/api/puppeteer.browsercontext">BrowserContext</a><ahref="/next/api/puppeteer.eventemitter">emits</a> various events which are documented in the <ahref="/next/api/puppeteer.browsercontextevent">BrowserContextEvent</a> enum.</p><p>If a <ahref="/next/api/puppeteer.page">page</a> opens another <ahref="/next/api/puppeteer.page">page</a>, e.g. using <code>window.open</code>, the popup will belong to the parent <ahref="/next/api/puppeteer.page.browsercontext">page's browser context</a>.</p></td></tr><tr><td><ahref="/next/api/puppeteer.cdpsession">CDPSession</a></td><td>The <code>CDPSession</code> instances are used to talk raw Chrome Devtools Protocol.</td></tr><tr><td><ahref="/next/api/puppeteer.connection">Connection</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.consolemessage">ConsoleMessage</a></td><td>ConsoleMessage objects are dispatched by page via the 'console' event.</td></tr><tr><td><ahref="/next/api/puppeteer.coverage">Coverage</a></td><td>The Coverage class provides methods to gather information about parts of JavaScript and CSS that were used by the page.</td></tr><tr><td><ahref="/next/api/puppeteer.csscoverage">CSSCoverage</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.devicerequestprompt">DeviceRequestPrompt</a></td><td>Device request prompts let you respond to the page requesting for a device through an API like WebBluetooth.</td></tr><tr><td><ahref="/next/api/puppeteer.devicerequestpromptdevice">DeviceRequestPromptDevice</a></td><td>Device in a request prompt.</td></tr><tr><td><ahref="/next/api/puppeteer.dialog">Dialog</a></td><td>Dialog instances are dispatched by the <ahref="/next/api/puppeteer.page">Page</a> via the <code>dialog</code> event.</td></tr><tr><td><ahref="/next/api/puppeteer.elementhandle">ElementHandle</a></td><td>ElementHandle represents an in-page DOM element.</td></tr><tr><td><ahref="/next/api/puppeteer.eventemitter">EventEmitter</a></td><td>The EventEmitter class that many Puppeteer classes extend.</td></tr><tr><td><ahref="/next/api/puppeteer.filechooser">FileChooser</a></td><td>File choosers let you react to the page requesting for a file.</td></tr><tr><td><ahref="/next/api/puppeteer.frame">Frame</a></td><td><p>Represents a DOM frame.</p><p>To understand frames, you can think of frames as <code><iframe></code>
<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>Enumeration</th><th>Description</th></tr></thead><tbody><tr><td><ahref="/next/api/puppeteer.browsercontextevent">BrowserContextEvent</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.browserevent">BrowserEvent</a></td><td>All the events a <ahref="/next/api/puppeteer.browser">browser instance</a> may emit.</td></tr><tr><td><ahref="/next/api/puppeteer.interceptresolutionaction">InterceptResolutionAction</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.locatorevent">LocatorEvent</a></td><td>All the events that a locator instance may emit.</td></tr><tr><td><ahref="/next/api/puppeteer.pageevent">PageEvent</a></td><td>All the events that a page instance may emit.</td></tr><tr><td><ahref="/next/api/puppeteer.targettype">TargetType</a></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>Interface</th><th>Description</th></tr></thead><tbody><tr><td><ahref="/next/api/puppeteer.actionoptions">ActionOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.autofilldata">AutofillData</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.boundingbox">BoundingBox</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.boxmodel">BoxModel</a></td><td></td></tr><tr><td><ahref="/next/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><ahref="/next/api/puppeteer.browsercontextevents">BrowserContextEvents</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.browsercontextoptions">BrowserContextOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.browserevents">BrowserEvents</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.browserlaunchargumentoptions">BrowserLaunchArgumentOptions</a></td><td>Launcher options that only apply to Chrome.</td></tr><tr><td><ahref="/next/api/puppeteer.cdpsessionevents">CDPSessionEvents</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.clickoptions">ClickOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.commandoptions">CommandOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.commoneventemitter">CommonEventEmitter</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.configuration">Configuration</a></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><ahref="/next/api/puppeteer.connectiontransport">ConnectionTransport</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.connectoptions">ConnectOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.consolemessagelocation">ConsoleMessageLocation</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.continuerequestoverrides">ContinueRequestOverrides</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.cookie">Cookie</a></td><td>Represents a cookie object.</td></tr><tr><td><ahref="/next/api/puppeteer.cookieparam">CookieParam</a></td><td>Cookie parameter object</td></tr><tr><td><ahref="/next/api/puppeteer.coverageentry">CoverageEntry</a></td><td>The CoverageEntry class represents one entry of the coverage report.</td></tr><tr><td><ahref="/next/api/puppeteer.credentials">Credentials</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.csscoverageoptions">CSSCoverageOptions</a></td><td>Set of configurable options for CSS coverage.</td></tr><tr><td><ahref="/next/api/puppeteer.customqueryhandler">CustomQueryHandler</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.debuginfo">DebugInfo</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.deletecookiesrequest">DeleteCookiesRequest</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.device">Device</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.elementscreenshotoptions">ElementScreenshotOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.frameaddscripttagoptions">FrameAddScriptTagOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.frameaddstyletagoptions">FrameAddStyleTagOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.frameevents">FrameEvents</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.framewaitforfunctionoptions">FrameWaitForFunctionOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.geolocationoptions">GeolocationOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.gotooptions">GoToOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.interceptresolutionstate">InterceptResolutionState</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.internalnetworkconditions">InternalNetworkConditions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.jscoverageentry">JSCoverageEntry</a></td><td>The CoverageEntry class for JavaSc
<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>Namespace</th><th>Description</th></tr></thead><tbody><tr><td><ahref="/next/api/puppeteer.cdpsessionevent">CDPSessionEvent</a></td><td>Events that the CDPSession class emits.</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>Variable</th><th>Description</th></tr></thead><tbody><tr><td><ahref="/next/api/puppeteer.connect">connect</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.default_intercept_resolution_priority">DEFAULT_INTERCEPT_RESOLUTION_PRIORITY</a></td><td>The default cooperative request interception resolution priority</td></tr><tr><td><ahref="/next/api/puppeteer.defaultargs">defaultArgs</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.executablepath">executablePath</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.knowndevices">KnownDevices</a></td><td>A list of devices to be used with <ahref="/next/api/puppeteer.page.emulate">Page.emulate()</a>.</td></tr><tr><td><ahref="/next/api/puppeteer.launch">launch</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.mousebutton">MouseButton</a></td><td>Enum of valid mouse buttons.</td></tr><tr><td><ahref="/next/api/puppeteer.predefinednetworkconditions">PredefinedNetworkConditions</a></td><td>A list of network conditions to be used with <ahref="/next/api/puppeteer.page.emulatenetworkconditions">Page.emulateNetworkConditions()</a>.</td></tr><tr><td><ahref="/next/api/puppeteer.puppeteer">puppeteer</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.trimcache">trimCache</a></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>Type Alias</th><th>Description</th></tr></thead><tbody><tr><td><ahref="/next/api/puppeteer.actionresult">ActionResult</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.awaitable">Awaitable</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.awaitableiterable">AwaitableIterable</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.awaitablepredicate">AwaitablePredicate</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.awaitedlocator">AwaitedLocator</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.cdpevents">CDPEvents</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.chromereleasechannel">ChromeReleaseChannel</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.consolemessagetype">ConsoleMessageType</a></td><td>The supported types for console messages.</td></tr><tr><td><ahref="/next/api/puppeteer.cookiepriority">CookiePriority</a></td><td>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></td></tr><tr><td><ahref="/next/api/puppeteer.cookiesamesite">CookieSameSite</a></td><td>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></td></tr><tr><td><ahref="/next/api/puppeteer.cookiesourcescheme">CookieSourceScheme</a></td><td>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.</td></tr><tr><td><ahref="/next/api/puppeteer.elementfor">ElementFor</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.errorcode">ErrorCode</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.evaluatefunc">EvaluateFunc</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.evaluatefuncwith">EvaluateFuncWith</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.eventswithwildcard">EventsWithWildcard</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.eventtype">EventType</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.experimentsconfiguration">ExperimentsConfiguration</a></td><td><p>Defines experiment options for Puppeteer.</p><p>See individual properties for more information.</p></td></tr><tr><td><ahref="/next/api/puppeteer.flattenhandle">FlattenHandle</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.handlefor">HandleFor</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.handleor">HandleOr</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.handler">Handler</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.innerparams">InnerParams</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.keyinput">KeyInput</a></td><td>All the valid keys that can be passed to functions that take user input, such as <ahref="/next/api/puppeteer.keyboard.press">keyboard.press</a></td></tr><tr><td><ahref="/next/api/puppeteer.keypressoptions">KeyPressOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.locatorclickoptions">LocatorClickOptions</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.lowercasepaperformat">LowerCasePaperFormat</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.mapper">Mapper</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.mousebutton">MouseButton</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.nodefor">NodeFor</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.paperformat">PaperFormat</a></td><td>All the valid paper format types when printing a PDF.</td></tr><tr><td><ahref="/next/api/puppeteer.permission">Permission</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.predicate">Predicate</a></td><td></td></tr><tr><td><ahref="/next/api/puppeteer.product">Product</a></td><td>Supported produc