mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1 line
42 KiB
JavaScript
1 line
42 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[89774],{3905:(e,t,a)=>{a.d(t,{Zo:()=>d,kt:()=>k});var r=a(67294);function p(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function n(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function l(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?n(Object(a),!0).forEach((function(t){p(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function i(e,t){if(null==e)return{};var a,r,p=function(e,t){if(null==e)return{};var a,r,p={},n=Object.keys(e);for(r=0;r<n.length;r++)a=n[r],t.indexOf(a)>=0||(p[a]=e[a]);return p}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)a=n[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(p[a]=e[a])}return p}var o=r.createContext({}),u=function(e){var t=r.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},d=function(e){var t=u(e.components);return r.createElement(o.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},s=r.forwardRef((function(e,t){var a=e.components,p=e.mdxType,n=e.originalType,o=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),s=u(a),k=p,N=s["".concat(o,".").concat(k)]||s[k]||m[k]||n;return a?r.createElement(N,l(l({ref:t},d),{},{components:a})):r.createElement(N,l({ref:t},d))}));function k(e,t){var a=arguments,p=t&&t.mdxType;if("string"==typeof e||p){var n=a.length,l=new Array(n);l[0]=s;var i={};for(var o in t)hasOwnProperty.call(t,o)&&(i[o]=t[o]);i.originalType=e,i.mdxType="string"==typeof e?e:p,l[1]=i;for(var u=2;u<n;u++)l[u]=a[u];return r.createElement.apply(null,l)}return r.createElement.apply(null,a)}s.displayName="MDXCreateElement"},376:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>o,contentTitle:()=>l,default:()=>m,frontMatter:()=>n,metadata:()=>i,toc:()=>u});var r=a(87462),p=(a(67294),a(3905));const n={},l="puppeteer package",i={unversionedId:"api/index",id:"api/index",title:"puppeteer package",description:"Classes",source:"@site/../docs/api/index.md",sourceDirName:"api",slug:"/api/",permalink:"/puppeteer/api/",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"Chromium Support",permalink:"/puppeteer/chromium-support"},next:{title:"Accessibility class",permalink:"/puppeteer/api/puppeteer.accessibility"}},o={},u=[{value:"Classes",id:"classes",level:2},{value:"Enumerations",id:"enumerations",level:2},{value:"Functions",id:"functions",level:2},{value:"Interfaces",id:"interfaces",level:2},{value:"Variables",id:"variables",level:2},{value:"Type Aliases",id:"type-aliases",level:2}],d={toc:u};function m(e){let{components:t,...a}=e;return(0,p.kt)("wrapper",(0,r.Z)({},d,a,{components:t,mdxType:"MDXLayout"}),(0,p.kt)("h1",{id:"puppeteer-package"},"puppeteer package"),(0,p.kt)("h2",{id:"classes"},"Classes"),(0,p.kt)("table",null,(0,p.kt)("thead",{parentName:"table"},(0,p.kt)("tr",{parentName:"thead"},(0,p.kt)("th",{parentName:"tr",align:null},"Class"),(0,p.kt)("th",{parentName:"tr",align:null},"Description"))),(0,p.kt)("tbody",{parentName:"table"},(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.accessibility"},"Accessibility")),(0,p.kt)("td",{parentName:"tr",align:null},"The Accessibility class provides methods for inspecting Chromium's accessibility tree. The accessibility tree is used by assistive technology such as ",(0,p.kt)("a",{parentName:"td",href:"https://en.wikipedia.org/wiki/Screen_reader"},"screen readers")," or ",(0,p.kt)("a",{parentName:"td",href:"https://en.wikipedia.org/wiki/Switch_access"},"switches"),".")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browser"},"Browser")),(0,p.kt)("td",{parentName:"tr",align:null},"A Browser is created when Puppeteer connects to a Chromium instance, either through ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteernode.launch"},"PuppeteerNode.launch()")," or ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteer.connect"},"Puppeteer.connect()"),".")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browsercontext"},"BrowserContext")),(0,p.kt)("td",{parentName:"tr",align:null},"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 ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browser.newpage"},"Browser.newPage")," creates a page in the default browser context.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browserfetcher"},"BrowserFetcher")),(0,p.kt)("td",{parentName:"tr",align:null},"BrowserFetcher can download and manage different versions of Chromium and Firefox.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.cdpsession"},"CDPSession")),(0,p.kt)("td",{parentName:"tr",align:null},"The ",(0,p.kt)("code",null,"CDPSession")," instances are used to talk raw Chrome Devtools Protocol.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.connection"},"Connection")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.consolemessage"},"ConsoleMessage")),(0,p.kt)("td",{parentName:"tr",align:null},"ConsoleMessage objects are dispatched by page via the 'console' event.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.coverage"},"Coverage")),(0,p.kt)("td",{parentName:"tr",align:null},"The Coverage class provides methods to gathers information about parts of JavaScript and CSS that were used by the page.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.csscoverage"},"CSSCoverage")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.customerror"},"CustomError")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.dialog"},"Dialog")),(0,p.kt)("td",{parentName:"tr",align:null},"Dialog instances are dispatched by the ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.page"},"Page")," via the ",(0,p.kt)("code",null,"dialog")," event.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.elementhandle"},"ElementHandle")),(0,p.kt)("td",{parentName:"tr",align:null},"ElementHandle represents an in-page DOM element.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.eventemitter"},"EventEmitter")),(0,p.kt)("td",{parentName:"tr",align:null},"The EventEmitter class that many Puppeteer classes extend.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.executioncontext"},"ExecutionContext")),(0,p.kt)("td",{parentName:"tr",align:null},"This class represents a context for JavaScript execution. A ","[","Page","]"," might have many execution contexts: - each ",(0,p.kt)("a",{parentName:"td",href:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe"},"frame"),' has "default" execution context that is always created after frame is attached to DOM. This context is returned by the ',(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.frame.executioncontext"},"Frame.executionContext()")," method. - ",(0,p.kt)("a",{parentName:"td",href:"https://developer.chrome.com/extensions"},"Extension"),"'s content scripts create additional execution contexts.Besides pages, execution contexts can be found in ",(0,p.kt)("a",{parentName:"td",href:"https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API"},"workers"),".")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.filechooser"},"FileChooser")),(0,p.kt)("td",{parentName:"tr",align:null},"File choosers let you react to the page requesting for a file.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.frame"},"Frame")),(0,p.kt)("td",{parentName:"tr",align:null},"At every point of time, page exposes its current frame tree via the ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.page.mainframe"},"page.mainFrame")," and ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.frame.childframes"},"frame.childFrames")," methods.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.httprequest"},"HTTPRequest")),(0,p.kt)("td",{parentName:"tr",align:null},"Represents an HTTP request sent by a page.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.httpresponse"},"HTTPResponse")),(0,p.kt)("td",{parentName:"tr",align:null},"The HTTPResponse class represents responses which are received by the ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.page"},"Page")," class.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.jscoverage"},"JSCoverage")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.jshandle"},"JSHandle")),(0,p.kt)("td",{parentName:"tr",align:null},"Represents an in-page JavaScript object. JSHandles can be created with the ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.page.evaluatehandle"},"page.evaluateHandle")," method.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.keyboard"},"Keyboard")),(0,p.kt)("td",{parentName:"tr",align:null},"Keyboard provides an api for managing a virtual keyboard. The high level api is ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.keyboard.type"},"Keyboard.type()"),", which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.mouse"},"Mouse")),(0,p.kt)("td",{parentName:"tr",align:null},"The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.page"},"Page")),(0,p.kt)("td",{parentName:"tr",align:null},"Page provides methods to interact with a single tab or ",(0,p.kt)("a",{parentName:"td",href:"https://developer.chrome.com/extensions/background_pages"},"extension background page")," in Chromium.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.protocolerror"},"ProtocolError")),(0,p.kt)("td",{parentName:"tr",align:null},"ProtocolError is emitted whenever there is an error from the protocol.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteer"},"Puppeteer")),(0,p.kt)("td",{parentName:"tr",align:null},"The main Puppeteer class.IMPORTANT: if you are using Puppeteer in a Node environment, you will get an instance of ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteernode"},"PuppeteerNode")," when you import or require ",(0,p.kt)("code",null,"puppeteer"),". That class extends ",(0,p.kt)("code",null,"Puppeteer"),", so has all the methods documented below as well as all that are defined on ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteernode"},"PuppeteerNode"),".")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteernode"},"PuppeteerNode")),(0,p.kt)("td",{parentName:"tr",align:null},"Extends the main ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteer"},"Puppeteer")," class with Node specific behaviour for fetching and downloading browsers.If you're using Puppeteer in a Node environment, this is the class you'll get when you run ",(0,p.kt)("code",null,"require('puppeteer')")," (or the equivalent ES ",(0,p.kt)("code",null,"import"),").")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.securitydetails"},"SecurityDetails")),(0,p.kt)("td",{parentName:"tr",align:null},"The SecurityDetails class represents the security details of a response that was received over a secure connection.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.target"},"Target")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.timeouterror"},"TimeoutError")),(0,p.kt)("td",{parentName:"tr",align:null},"TimeoutError is emitted whenever certain operations are terminated due to timeout.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.touchscreen"},"Touchscreen")),(0,p.kt)("td",{parentName:"tr",align:null},"The Touchscreen class exposes touchscreen events.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.tracing"},"Tracing")),(0,p.kt)("td",{parentName:"tr",align:null},"The Tracing class exposes the tracing audit interface.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.webworker"},"WebWorker")),(0,p.kt)("td",{parentName:"tr",align:null},"The WebWorker class represents a ",(0,p.kt)("a",{parentName:"td",href:"https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API"},"WebWorker"),".")))),(0,p.kt)("h2",{id:"enumerations"},"Enumerations"),(0,p.kt)("table",null,(0,p.kt)("thead",{parentName:"table"},(0,p.kt)("tr",{parentName:"thead"},(0,p.kt)("th",{parentName:"tr",align:null},"Enumeration"),(0,p.kt)("th",{parentName:"tr",align:null},"Description"))),(0,p.kt)("tbody",{parentName:"table"},(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browsercontextemittedevents"},"BrowserContextEmittedEvents")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browseremittedevents"},"BrowserEmittedEvents")),(0,p.kt)("td",{parentName:"tr",align:null},"All the events a ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browser"},"browser instance")," may emit.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.interceptresolutionaction"},"InterceptResolutionAction")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.pageemittedevents"},"PageEmittedEvents")),(0,p.kt)("td",{parentName:"tr",align:null},"All the events that a page instance may emit.")))),(0,p.kt)("h2",{id:"functions"},"Functions"),(0,p.kt)("table",null,(0,p.kt)("thead",{parentName:"table"},(0,p.kt)("tr",{parentName:"thead"},(0,p.kt)("th",{parentName:"tr",align:null},"Function"),(0,p.kt)("th",{parentName:"tr",align:null},"Description"))),(0,p.kt)("tbody",{parentName:"table"},(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.clearcustomqueryhandlers"},"clearCustomQueryHandlers()")),(0,p.kt)("td",{parentName:"tr",align:null},"Clears all registered handlers.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.customqueryhandlernames"},"customQueryHandlerNames()")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.registercustomqueryhandler"},"registerCustomQueryHandler(name, handler)")),(0,p.kt)("td",{parentName:"tr",align:null},"Registers a ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.customqueryhandler"},"custom query handler"),".")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.unregistercustomqueryhandler"},"unregisterCustomQueryHandler(name)")),(0,p.kt)("td",{parentName:"tr",align:null})))),(0,p.kt)("h2",{id:"interfaces"},"Interfaces"),(0,p.kt)("table",null,(0,p.kt)("thead",{parentName:"table"},(0,p.kt)("tr",{parentName:"thead"},(0,p.kt)("th",{parentName:"tr",align:null},"Interface"),(0,p.kt)("th",{parentName:"tr",align:null},"Description"))),(0,p.kt)("tbody",{parentName:"table"},(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.boundingbox"},"BoundingBox")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.boxmodel"},"BoxModel")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browserconnectoptions"},"BrowserConnectOptions")),(0,p.kt)("td",{parentName:"tr",align:null},"Generic browser options that can be passed when launching any browser or when connecting to an existing browser instance.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browsercontextoptions"},"BrowserContextOptions")),(0,p.kt)("td",{parentName:"tr",align:null},"BrowserContext options.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browserfetcheroptions"},"BrowserFetcherOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browserfetcherrevisioninfo"},"BrowserFetcherRevisionInfo")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.browserlaunchargumentoptions"},"BrowserLaunchArgumentOptions")),(0,p.kt)("td",{parentName:"tr",align:null},"Launcher options that only apply to Chrome.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.cdpsessiononmessageobject"},"CDPSessionOnMessageObject")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.clickoptions"},"ClickOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.commoneventemitter"},"CommonEventEmitter")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.connectioncallback"},"ConnectionCallback")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.connectiontransport"},"ConnectionTransport")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.connectoptions"},"ConnectOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.consolemessagelocation"},"ConsoleMessageLocation")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.continuerequestoverrides"},"ContinueRequestOverrides")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.coverageentry"},"CoverageEntry")),(0,p.kt)("td",{parentName:"tr",align:null},"The CoverageEntry class represents one entry of the coverage report.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.credentials"},"Credentials")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.csscoverageoptions"},"CSSCoverageOptions")),(0,p.kt)("td",{parentName:"tr",align:null},"Set of configurable options for CSS coverage.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.customqueryhandler"},"CustomQueryHandler")),(0,p.kt)("td",{parentName:"tr",align:null},"Contains two functions ",(0,p.kt)("code",null,"queryOne")," and ",(0,p.kt)("code",null,"queryAll")," that can be ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.registercustomqueryhandler"},"registered")," as alternative querying strategies. The functions ",(0,p.kt)("code",null,"queryOne")," and ",(0,p.kt)("code",null,"queryAll")," are executed in the page context. ",(0,p.kt)("code",null,"queryOne")," should take an ",(0,p.kt)("code",null,"Element")," and a selector string as argument and return a single ",(0,p.kt)("code",null,"Element")," or ",(0,p.kt)("code",null,"null")," if no element is found. ",(0,p.kt)("code",null,"queryAll")," takes the same arguments but should instead return a ",(0,p.kt)("code",null,"NodeListOf","<","Element",">")," or ",(0,p.kt)("code",null,"Array","<","Element",">")," with all the elements that match the given query selector.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.device"},"Device")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.frameaddscripttagoptions"},"FrameAddScriptTagOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.frameaddstyletagoptions"},"FrameAddStyleTagOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.framewaitforfunctionoptions"},"FrameWaitForFunctionOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.geolocationoptions"},"GeolocationOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.interceptresolutionstate"},"InterceptResolutionState")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.internalnetworkconditions"},"InternalNetworkConditions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.jscoverageentry"},"JSCoverageEntry")),(0,p.kt)("td",{parentName:"tr",align:null},"The CoverageEntry class for JavaScript")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.jscoverageoptions"},"JSCoverageOptions")),(0,p.kt)("td",{parentName:"tr",align:null},"Set of configurable options for JS coverage.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.launchoptions"},"LaunchOptions")),(0,p.kt)("td",{parentName:"tr",align:null},"Generic launch options that can be passed when launching any browser.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.mediafeature"},"MediaFeature")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.metrics"},"Metrics")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.mouseoptions"},"MouseOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.mousewheeloptions"},"MouseWheelOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.networkconditions"},"NetworkConditions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.offset"},"Offset")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.pageeventobject"},"PageEventObject")),(0,p.kt)("td",{parentName:"tr",align:null},"Denotes the objects received by callback functions for page events.See ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.pageemittedevents"},"PageEmittedEvents")," for more detail on the events and when they are emitted.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.pdfmargin"},"PDFMargin")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.pdfoptions"},"PDFOptions")),(0,p.kt)("td",{parentName:"tr",align:null},"Valid options to configure PDF generation via ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.page.pdf"},"Page.pdf()"),".")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.point"},"Point")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.pressoptions"},"PressOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.productlauncher"},"ProductLauncher")),(0,p.kt)("td",{parentName:"tr",align:null},"Describes a launcher - a class that is able to create and launch a browser instance.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteererrors"},"PuppeteerErrors")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteerlaunchoptions"},"PuppeteerLaunchOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.remoteaddress"},"RemoteAddress")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.responseforrequest"},"ResponseForRequest")),(0,p.kt)("td",{parentName:"tr",align:null},"Required response data to fulfill a request with.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.screenshotclip"},"ScreenshotClip")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.screenshotoptions"},"ScreenshotOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.serializedaxnode"},"SerializedAXNode")),(0,p.kt)("td",{parentName:"tr",align:null},"Represents a Node and the properties of it that are relevant to Accessibility.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.snapshotoptions"},"SnapshotOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.tracingoptions"},"TracingOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.viewport"},"Viewport")),(0,p.kt)("td",{parentName:"tr",align:null},"Sets the viewport of the page.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.waitforoptions"},"WaitForOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.waitforselectoroptions"},"WaitForSelectorOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.waitfortargetoptions"},"WaitForTargetOptions")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.waittimeoutoptions"},"WaitTimeoutOptions")),(0,p.kt)("td",{parentName:"tr",align:null})))),(0,p.kt)("h2",{id:"variables"},"Variables"),(0,p.kt)("table",null,(0,p.kt)("thead",{parentName:"table"},(0,p.kt)("tr",{parentName:"thead"},(0,p.kt)("th",{parentName:"tr",align:null},"Variable"),(0,p.kt)("th",{parentName:"tr",align:null},"Description"))),(0,p.kt)("tbody",{parentName:"table"},(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.connect"},"connect")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.createbrowserfetcher"},"createBrowserFetcher")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.default_intercept_resolution_priority"},"DEFAULT_INTERCEPT_RESOLUTION_PRIORITY")),(0,p.kt)("td",{parentName:"tr",align:null},"The default cooperative request interception resolution priority")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.defaultargs"},"defaultArgs")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.devices"},"devices")),(0,p.kt)("td",{parentName:"tr",align:null},"A list of devices to be used with ",(0,p.kt)("code",null,"page.emulate(options)"),". Actual list of devices can be found in ",(0,p.kt)("a",{parentName:"td",href:"https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts"},"src/common/DeviceDescriptors.ts"),".")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.errors"},"errors")),(0,p.kt)("td",{parentName:"tr",align:null},"Puppeteer methods might throw errors if they are unable to fulfill a request. For example, ",(0,p.kt)("code",null,"page.waitForSelector(selector","[, options]",")")," might fail if the selector doesn't match any nodes during the given timeframe.For certain types of errors Puppeteer uses specific error classes. These classes are available via ",(0,p.kt)("code",null,"puppeteer.errors"),".")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.evaluation_script_url"},"EVALUATION_SCRIPT_URL")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.executablepath"},"executablePath")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.launch"},"launch")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.networkconditions"},"networkConditions")),(0,p.kt)("td",{parentName:"tr",align:null},"A list of network conditions to be used with ",(0,p.kt)("code",null,"page.emulateNetworkConditions(networkConditions)"),". Actual list of predefined conditions can be found in ",(0,p.kt)("a",{parentName:"td",href:"https://github.com/puppeteer/puppeteer/blob/main/src/common/NetworkConditions.ts"},"src/common/NetworkConditions.ts"),".")))),(0,p.kt)("h2",{id:"type-aliases"},"Type Aliases"),(0,p.kt)("table",null,(0,p.kt)("thead",{parentName:"table"},(0,p.kt)("tr",{parentName:"thead"},(0,p.kt)("th",{parentName:"tr",align:null},"Type Alias"),(0,p.kt)("th",{parentName:"tr",align:null},"Description"))),(0,p.kt)("tbody",{parentName:"table"},(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.actionresult"},"ActionResult")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.awaitable"},"Awaitable")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.chromereleasechannel"},"ChromeReleaseChannel")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.consolemessagetype"},"ConsoleMessageType")),(0,p.kt)("td",{parentName:"tr",align:null},"The supported types for console messages.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.devicesmap"},"DevicesMap")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.errorcode"},"ErrorCode")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.evaluatefunc"},"EvaluateFunc")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.eventtype"},"EventType")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.flattenhandle"},"FlattenHandle")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.handlefor"},"HandleFor")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.handleor"},"HandleOr")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.handler"},"Handler")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.innerparams"},"InnerParams")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.interceptresolutionstrategy"},"InterceptResolutionStrategy")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.keyinput"},"KeyInput")),(0,p.kt)("td",{parentName:"tr",align:null},"All the valid keys that can be passed to functions that take user input, such as ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.keyboard.press"},"keyboard.press"))),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.lowercasepaperformat"},"LowerCasePaperFormat")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.mousebutton"},"MouseButton")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.paperformat"},"PaperFormat")),(0,p.kt)("td",{parentName:"tr",align:null},"All the valid paper format types when printing a PDF.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.permission"},"Permission")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.platform"},"Platform")),(0,p.kt)("td",{parentName:"tr",align:null},"Supported platforms.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.product"},"Product")),(0,p.kt)("td",{parentName:"tr",align:null},"Supported products.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.protocollifecycleevent"},"ProtocolLifeCycleEvent")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteerlifecycleevent"},"PuppeteerLifeCycleEvent")),(0,p.kt)("td",{parentName:"tr",align:null})),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.puppeteernodelaunchoptions"},"PuppeteerNodeLaunchOptions")),(0,p.kt)("td",{parentName:"tr",align:null},"Utility type exposed to enable users to define options that can be passed to ",(0,p.kt)("code",null,"puppeteer.launch")," without having to list the set of all types.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.resourcetype"},"ResourceType")),(0,p.kt)("td",{parentName:"tr",align:null},"Resource types for HTTPRequests as perceived by the rendering engine.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/api/puppeteer.targetfiltercallback"},"TargetFilterCallback")),(0,p.kt)("td",{parentName:"tr",align:null})))))}m.isMDXComponent=!0}}]); |