puppeteer/api/index.html

31 lines
94 KiB
HTML
Raw Normal View History

<!doctype html>
<html lang="en" dir="ltr" class="docs-wrapper plugin-docs plugin-id-default docs-version-22.7.1 docs-doc-page docs-doc-id-api/index" data-has-hydrated="false">
<head>
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v3.2.1">
<title data-rh="true">API Reference | Puppeteer</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://pptr.dev/api/"><meta data-rh="true" property="og:locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docsearch:counter" content="2"><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/api/"><link data-rh="true" rel="alternate" href="https://pptr.dev/api/" hreflang="en"><link data-rh="true" rel="alternate" href="https://pptr.dev/api/" hreflang="x-default"><link data-rh="true" rel="preconnect" href="https://DVKY664LG7-dsn.algolia.net" crossorigin="anonymous"><link rel="search" type="application/opensearchdescription+xml" title="Puppeteer" href="/opensearch.xml">
<script src="/fix-location.js"></script><link rel="stylesheet" href="/assets/css/styles.76d942d0.css">
<script src="/assets/js/runtime~main.8ce7f1b6.js" defer="defer"></script>
<script src="/assets/js/main.1b6d0764.js" defer="defer"></script>
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return localStorage.getItem("theme")}catch(t){}}();t(null!==e?e:"light")}(),function(){try{const c=new URLSearchParams(window.location.search).entries();for(var[t,e]of c)if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id="__docusaurus"><div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#__docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><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="themedComponent_mlkZ themedComponent--light_NVdE"><img src="https://user-images.githubusercontent.com/10379601/29446482-04f7036a-841f-11e7-9872-91d1fc2ea683.png" alt="Puppeteer Logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"></div><b class="navbar__title text--truncate">Puppeteer</b></a><a class="navbar__item navbar__link" href="/category/introduction">Docs</a><a class="navbar__item navbar__link" href="/api/puppeteer.puppeteernode">Puppeteer API</a><a class="navbar__item navbar__link" href="/browsers-api/">@puppeteer/browsers API</a></div><div class="navbar__items navbar__items--right"><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a class="navbar__link" aria-haspopup="true" aria-expanded="false" role="button" href="/">22.7.1</a><ul class="dropdown__menu"><li><a class="dropdown__link" href="/next/api/">Next</a></li><li><a aria-current="page" class="dropdown__link dropdown__link--active" href="/api/">22.7.1</a></li><li><hr class="dropdown-separator"></li><li class="dropdown-archived-versions"><b>Archived versions</b></li><li><a href="https://github.com/puppeteer/puppeteer/blob/puppeteer-v22.7.0/docs/api/index.md" target="_blank" rel="noopener noreferrer" class="dropdown__link">22.7.0<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><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><a href="https://github.com/puppeteer/puppeteer/blob/puppeteer-v22.6.5/docs/api/index.md" target="_blank" rel="noopener noreferrer" class="dropdown__link">22.6.5<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><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><a href="https://github.com/puppeteer/puppeteer/blob/puppeteer-v22.6.4/docs/api/index.md" target="_blank" rel="noopener noreferrer" class="dropdown__link">22.6.4<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><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><a href="https://github.com/puppeteer/puppeteer/blob/puppeteer-v22.6.3/docs/api/index.md" target="_blank" rel="noopener noreferrer" class="dropdown__link">22.6.3<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><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"><
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="classes">Classes<a href="#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><span id="accessibility"><a href="/api/puppeteer.accessibility">Accessibility</a></span></td><td><p>The Accessibility class provides methods for inspecting the browser&#x27;s accessibility tree. The accessibility tree is used by assistive technology such as <a href="https://en.wikipedia.org/wiki/Screen_reader" target="_blank" rel="noopener noreferrer">screen readers</a> or <a href="https://en.wikipedia.org/wiki/Switch_access" target="_blank" rel="noopener noreferrer">switches</a>.</p></td></tr><tr><td><span id="browser"><a href="/api/puppeteer.browser">Browser</a></span></td><td><p><a href="/api/puppeteer.browser">Browser</a> represents a browser instance that is either:</p><ul>
<li>connected to via <a href="/api/puppeteer.puppeteer.connect">Puppeteer.connect()</a> or - launched by <a href="/api/puppeteer.puppeteernode.launch">PuppeteerNode.launch()</a>.</li>
</ul><p><a href="/api/puppeteer.browser">Browser</a> <a href="/api/puppeteer.eventemitter.emit">emits</a> various events which are documented in the <a href="/api/puppeteer.browserevent">BrowserEvent</a> enum.</p></td></tr><tr><td><span id="browsercontext"><a href="/api/puppeteer.browsercontext">BrowserContext</a></span></td><td><p><a href="/api/puppeteer.browsercontext">BrowserContext</a> represents individual user contexts within a <a href="/api/puppeteer.browser">browser</a>.</p><p>When a <a href="/api/puppeteer.browser">browser</a> is launched, it has a single <a href="/api/puppeteer.browsercontext">browser context</a> by default. Others can be created using <a href="/api/puppeteer.browser.createbrowsercontext">Browser.createBrowserContext()</a>. Each context has isolated storage (cookies/localStorage/etc.)</p><p><a href="/api/puppeteer.browsercontext">BrowserContext</a> <a href="/api/puppeteer.eventemitter">emits</a> various events which are documented in the <a href="/api/puppeteer.browsercontextevent">BrowserContextEvent</a> enum.</p><p>If a <a href="/api/puppeteer.page">page</a> opens another <a href="/api/puppeteer.page">page</a>, e.g. using <code>window.open</code>, the popup will belong to the parent <a href="/api/puppeteer.page.browsercontext">page&#x27;s browser context</a>.</p></td></tr><tr><td><span id="cdpsession"><a href="/api/puppeteer.cdpsession">CDPSession</a></span></td><td><p>The <code>CDPSession</code> instances are used to talk raw Chrome Devtools Protocol.</p></td></tr><tr><td><span id="connection"><a href="/api/puppeteer.connection">Connection</a></span></td><td></td></tr><tr><td><span id="consolemessage"><a href="/api/puppeteer.consolemessage">ConsoleMessage</a></span></td><td><p>ConsoleMessage objects are dispatched by page via the &#x27;console&#x27; event.</p></td></tr><tr><td><span id="coverage"><a href="/api/puppeteer.coverage">Coverage</a></span></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><span id="csscoverage"><a href="/api/puppeteer.csscoverage">CSSCoverage</a></span></td><td></td></tr><tr><td><span id="devicerequestprompt"><a href="/api/puppeteer.devicerequestprompt">DeviceRequestPrompt</a></span></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><span id="devicerequestpromptdevice"><a href="/api/puppeteer.devicerequestpromptdevice">DeviceRequestPromptDevice</a></span></td><td><p>Device in a request prompt.</p></td></tr><tr><td><span id="dialog"><a href="/api/puppeteer.dialog">Dialog</a></span></td><td><p>Dialog instances are dispatched by the <a href="/api/puppeteer.page">Page</a> via the <code>dialog</code> event.</p></td></tr><tr><td><span id="elementhandle"><a href="/api/puppeteer.elementhandle">ElementHandle</a></span></td><td><p>ElementHandle represents an in-page DOM element.</p></td></tr><tr><td><span id="eventemitter"><a href="/api/puppeteer.eventemitter">EventEmitter</a></span></td><td><p>The EventEmitter class that many Puppeteer classes extend.</p></td></tr><tr><td><span id="filechooser"><a href="/api/puppeteer.filechooser">FileChooser</a></span></td><td><p>File choosers let you react to the page requesting for a file.</p></td></tr><tr><td><span id="frame"><a href="/api/puppeteer.frame">Frame</a></span></td><td><p>Represents a DOM frame.</p><p>To understand frames, you can think of frames as <code>&lt;iframe&gt;</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><span id="httprequest"><a href="/api/puppeteer.httprequest">HTTPRequest</a></span></td><td><p>Represents an HTTP request sent by a page.</p></td></tr><tr><td><span id="httpresponse"><a href="/api/puppeteer.httpresponse">HTTPResponse</a></span></td><td><p>The HTTPResponse class represents responses which are received by the <a href="/api/puppeteer.page">Page</
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="enumerations">Enumerations<a href="#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><span id="browsercontextevent"><a href="/api/puppeteer.browsercontextevent">BrowserContextEvent</a></span></td><td></td></tr><tr><td><span id="browserevent"><a href="/api/puppeteer.browserevent">BrowserEvent</a></span></td><td><p>All the events a <a href="/api/puppeteer.browser">browser instance</a> may emit.</p></td></tr><tr><td><span id="interceptresolutionaction"><a href="/api/puppeteer.interceptresolutionaction">InterceptResolutionAction</a></span></td><td></td></tr><tr><td><span id="locatorevent"><a href="/api/puppeteer.locatorevent">LocatorEvent</a></span></td><td><p>All the events that a locator instance may emit.</p></td></tr><tr><td><span id="pageevent"><a href="/api/puppeteer.pageevent">PageEvent</a></span></td><td><p>All the events that a page instance may emit.</p></td></tr><tr><td><span id="targettype"><a href="/api/puppeteer.targettype">TargetType</a></span></td><td></td></tr></tbody></table>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="functions">Functions<a href="#functions" class="hash-link" aria-label="Direct link to Functions" title="Direct link to Functions"></a></h2>
<table><thead><tr><th><p>Function</p></th><th><p>Description</p></th></tr></thead><tbody><tr><td><span id="clearcustomqueryhandlers"><a href="/api/puppeteer.clearcustomqueryhandlers">clearCustomQueryHandlers()</a></span></td><td><p><strong>Deprecated:</strong></p><p>Import <a href="/api/puppeteer.puppeteer">Puppeteer</a> and use the static method <a href="/api/puppeteer.puppeteer.clearcustomqueryhandlers">Puppeteer.clearCustomQueryHandlers()</a></p></td></tr><tr><td><span id="connect"><a href="/api/puppeteer.connect">connect(options)</a></span></td><td></td></tr><tr><td><span id="customqueryhandlernames"><a href="/api/puppeteer.customqueryhandlernames">customQueryHandlerNames()</a></span></td><td><p><strong>Deprecated:</strong></p><p>Import <a href="/api/puppeteer.puppeteer">Puppeteer</a> and use the static method <a href="/api/puppeteer.puppeteer.customqueryhandlernames">Puppeteer.customQueryHandlerNames()</a></p></td></tr><tr><td><span id="defaultargs"><a href="/api/puppeteer.defaultargs">defaultArgs(options)</a></span></td><td></td></tr><tr><td><span id="executablepath"><a href="/api/puppeteer.executablepath">executablePath(channel)</a></span></td><td></td></tr><tr><td><span id="launch"><a href="/api/puppeteer.launch">launch(options)</a></span></td><td></td></tr><tr><td><span id="registercustomqueryhandler"><a href="/api/puppeteer.registercustomqueryhandler">registerCustomQueryHandler(name, handler)</a></span></td><td><p><strong>Deprecated:</strong></p><p>Import <a href="/api/puppeteer.puppeteer">Puppeteer</a> and use the static method <a href="/api/puppeteer.puppeteer.registercustomqueryhandler">Puppeteer.registerCustomQueryHandler()</a></p></td></tr><tr><td><span id="trimcache"><a href="/api/puppeteer.trimcache">trimCache()</a></span></td><td></td></tr><tr><td><span id="unregistercustomqueryhandler"><a href="/api/puppeteer.unregistercustomqueryhandler">unregisterCustomQueryHandler(name)</a></span></td><td><p><strong>Deprecated:</strong></p><p>Import <a href="/api/puppeteer.puppeteer">Puppeteer</a> and use the static method <a href="/api/puppeteer.puppeteer.unregistercustomqueryhandler">Puppeteer.unregisterCustomQueryHandler()</a></p></td></tr></tbody></table>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="interfaces">Interfaces<a href="#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><span id="actionoptions"><a href="/api/puppeteer.actionoptions">ActionOptions</a></span></td><td></td></tr><tr><td><span id="autofilldata"><a href="/api/puppeteer.autofilldata">AutofillData</a></span></td><td></td></tr><tr><td><span id="boundingbox"><a href="/api/puppeteer.boundingbox">BoundingBox</a></span></td><td></td></tr><tr><td><span id="boxmodel"><a href="/api/puppeteer.boxmodel">BoxModel</a></span></td><td></td></tr><tr><td><span id="browserconnectoptions"><a href="/api/puppeteer.browserconnectoptions">BrowserConnectOptions</a></span></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><span id="browsercontextevents"><a href="/api/puppeteer.browsercontextevents">BrowserContextEvents</a></span></td><td></td></tr><tr><td><span id="browsercontextoptions"><a href="/api/puppeteer.browsercontextoptions">BrowserContextOptions</a></span></td><td></td></tr><tr><td><span id="browserevents"><a href="/api/puppeteer.browserevents">BrowserEvents</a></span></td><td></td></tr><tr><td><span id="browserlaunchargumentoptions"><a href="/api/puppeteer.browserlaunchargumentoptions">BrowserLaunchArgumentOptions</a></span></td><td><p>Launcher options that only apply to Chrome.</p></td></tr><tr><td><span id="cdpsessionevents"><a href="/api/puppeteer.cdpsessionevents">CDPSessionEvents</a></span></td><td></td></tr><tr><td><span id="clickoptions"><a href="/api/puppeteer.clickoptions">ClickOptions</a></span></td><td></td></tr><tr><td><span id="commandoptions"><a href="/api/puppeteer.commandoptions">CommandOptions</a></span></td><td></td></tr><tr><td><span id="commoneventemitter"><a href="/api/puppeteer.commoneventemitter">CommonEventEmitter</a></span></td><td></td></tr><tr><td><span id="configuration"><a href="/api/puppeteer.configuration">Configuration</a></span></td><td><p>Defines options to configure Puppeteer&#x27;s behavior during installation and runtime.</p><p>See individual properties for more information.</p></td></tr><tr><td><span id="connectiontransport"><a href="/api/puppeteer.connectiontransport">ConnectionTransport</a></span></td><td></td></tr><tr><td><span id="connectoptions"><a href="/api/puppeteer.connectoptions">ConnectOptions</a></span></td><td></td></tr><tr><td><span id="consolemessagelocation"><a href="/api/puppeteer.consolemessagelocation">ConsoleMessageLocation</a></span></td><td></td></tr><tr><td><span id="continuerequestoverrides"><a href="/api/puppeteer.continuerequestoverrides">ContinueRequestOverrides</a></span></td><td></td></tr><tr><td><span id="cookie"><a href="/api/puppeteer.cookie">Cookie</a></span></td><td><p>Represents a cookie object.</p></td></tr><tr><td><span id="cookieparam"><a href="/api/puppeteer.cookieparam">CookieParam</a></span></td><td><p>Cookie parameter object</p></td></tr><tr><td><span id="coverageentry"><a href="/api/puppeteer.coverageentry">CoverageEntry</a></span></td><td><p>The CoverageEntry class represents one entry of the coverage report.</p></td></tr><tr><td><span id="credentials"><a href="/api/puppeteer.credentials">Credentials</a></span></td><td></td></tr><tr><td><span id="csscoverageoptions"><a href="/api/puppeteer.csscoverageoptions">CSSCoverageOptions</a></span></td><td><p>Set of configurable options for CSS coverage.</p></td></tr><tr><td><span id="customqueryhandler"><a href="/api/puppeteer.customqueryhandler">CustomQueryHandler</a></span></td><td></td></tr><tr><td><span id="debuginfo"><a href="/api/puppeteer.debuginfo">DebugInfo</a></span></td><td></td></tr><tr><td><span id="deletecookiesrequest"><a href="/api/puppeteer.deletecookiesrequest">DeleteCookiesRequest</a></span></td><td></td></tr><tr><td><span id="device"><a href="/api/puppeteer.device">Device</a></span></td><td></td></tr><tr><td><span id="elementscreenshotoptions"><a href="/api/puppeteer.elementscreenshotoptions">ElementScreenshotOptions</a></span></td><td></td></tr><tr><td><span id="frameaddscripttagoptions"><a href="/a
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="namespaces">Namespaces<a href="#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><span id="cdpsessionevent"><a href="/api/puppeteer.cdpsessionevent">CDPSessionEvent</a></span></td><td><p>Events that the CDPSession class emits.</p></td></tr></tbody></table>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="variables">Variables<a href="#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><span id="default_intercept_resolution_priority"><a href="/api/puppeteer.default_intercept_resolution_priority">DEFAULT_INTERCEPT_RESOLUTION_PRIORITY</a></span></td><td><p>The default cooperative request interception resolution priority</p></td></tr><tr><td><span id="knowndevices"><a href="/api/puppeteer.knowndevices">KnownDevices</a></span></td><td><p>A list of devices to be used with <a href="/api/puppeteer.page.emulate">Page.emulate()</a>.</p></td></tr><tr><td><span id="mousebutton"><a href="/api/puppeteer.mousebutton">MouseButton</a></span></td><td><p>Enum of valid mouse buttons.</p></td></tr><tr><td><span id="predefinednetworkconditions"><a href="/api/puppeteer.predefinednetworkconditions">PredefinedNetworkConditions</a></span></td><td><p>A list of network conditions to be used with <a href="/api/puppeteer.page.emulatenetworkconditions">Page.emulateNetworkConditions()</a>.</p></td></tr><tr><td><span id="puppeteer"><a href="/api/puppeteer.puppeteer">puppeteer</a></span></td><td></td></tr></tbody></table>
<h2 class="anchor anchorWithStickyNavbar_LWe7" id="type-aliases">Type Aliases<a href="#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><span id="actionresult"><a href="/api/puppeteer.actionresult">ActionResult</a></span></td><td></td></tr><tr><td><span id="awaitable"><a href="/api/puppeteer.awaitable">Awaitable</a></span></td><td></td></tr><tr><td><span id="awaitableiterable"><a href="/api/puppeteer.awaitableiterable">AwaitableIterable</a></span></td><td></td></tr><tr><td><span id="awaitablepredicate"><a href="/api/puppeteer.awaitablepredicate">AwaitablePredicate</a></span></td><td></td></tr><tr><td><span id="awaitedlocator"><a href="/api/puppeteer.awaitedlocator">AwaitedLocator</a></span></td><td></td></tr><tr><td><span id="cdpevents"><a href="/api/puppeteer.cdpevents">CDPEvents</a></span></td><td></td></tr><tr><td><span id="chromereleasechannel"><a href="/api/puppeteer.chromereleasechannel">ChromeReleaseChannel</a></span></td><td></td></tr><tr><td><span id="consolemessagetype"><a href="/api/puppeteer.consolemessagetype">ConsoleMessageType</a></span></td><td><p>The supported types for console messages.</p></td></tr><tr><td><span id="cookiepriority"><a href="/api/puppeteer.cookiepriority">CookiePriority</a></span></td><td><p>Represents the cookie&#x27;s &#x27;Priority&#x27; status: <a href="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><span id="cookiesamesite"><a href="/api/puppeteer.cookiesamesite">CookieSameSite</a></span></td><td><p>Represents the cookie&#x27;s &#x27;SameSite&#x27; status: <a href="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><span id="cookiesourcescheme"><a href="/api/puppeteer.cookiesourcescheme">CookieSourceScheme</a></span></td><td><p>Represents the source scheme of the origin that originally set the cookie. A value of &quot;Unset&quot; 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><span id="elementfor"><a href="/api/puppeteer.elementfor">ElementFor</a></span></td><td></td></tr><tr><td><span id="errorcode"><a href="/api/puppeteer.errorcode">ErrorCode</a></span></td><td></td></tr><tr><td><span id="evaluatefunc"><a href="/api/puppeteer.evaluatefunc">EvaluateFunc</a></span></td><td></td></tr><tr><td><span id="evaluatefuncwith"><a href="/api/puppeteer.evaluatefuncwith">EvaluateFuncWith</a></span></td><td></td></tr><tr><td><span id="eventswithwildcard"><a href="/api/puppeteer.eventswithwildcard">EventsWithWildcard</a></span></td><td></td></tr><tr><td><span id="eventtype"><a href="/api/puppeteer.eventtype">EventType</a></span></td><td></td></tr><tr><td><span id="experimentsconfiguration"><a href="/api/puppeteer.experimentsconfiguration">ExperimentsConfiguration</a></span></td><td><p>Defines experiment options for Puppeteer.</p><p>See individual properties for more information.</p></td></tr><tr><td><span id="flattenhandle"><a href="/api/puppeteer.flattenhandle">FlattenHandle</a></span></td><td></td></tr><tr><td><span id="handlefor"><a href="/api/puppeteer.handlefor">HandleFor</a></span></td><td></td></tr><tr><td><span id="handleor"><a href="/api/puppeteer.handleor">HandleOr</a></span></td><td></td></tr><tr><td><span id="handler"><a href="/api/puppeteer.handler">Handler</a></span></td><td></td></tr><tr><td><span id="innerparams"><a href="/api/puppeteer.innerparams">InnerParams</a></span></td><td></td></tr><tr><td><span id="keyinput"><a href="/api/puppeteer.keyinput">KeyInput</a></span></td><td><p>All the valid keys that can be passed to functions that take user input, such as <a href="/api/puppeteer.keyboard.press">keyboard.press</a></p></td></tr><tr><td><span id="keypressoptions"><a href="/api/puppeteer.keypressoptions">KeyPressOptions</a></span></td><td></td></tr><tr><td><span id="locatorclickoptions"><a href="/api/puppeteer.locatorclickoptions">Locator
</body>
</html>