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([[39577],{3905:function(e,t,a){a.d(t,{Zo:function(){return i},kt:function(){return k}});var r=a(67294);function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function p(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?p(Object(a),!0).forEach((function(t){n(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):p(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function o(e,t){if(null==e)return{};var a,r,n=function(e,t){if(null==e)return{};var a,r,n={},p=Object.keys(e);for(r=0;r<p.length;r++)a=p[r],t.indexOf(a)>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(r=0;r<p.length;r++)a=p[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var d=r.createContext({}),u=function(e){var t=r.useContext(d),a=t;return e&&(a="function"==typeof e?e(t):l(l({},t),e)),a},i=function(e){var t=u(e.components);return r.createElement(d.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var a=e.components,n=e.mdxType,p=e.originalType,d=e.parentName,i=o(e,["components","mdxType","originalType","parentName"]),m=u(a),k=n,c=m["".concat(d,".").concat(k)]||m[k]||s[k]||p;return a?r.createElement(c,l(l({ref:t},i),{},{components:a})):r.createElement(c,l({ref:t},i))}));function k(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var p=a.length,l=new Array(p);l[0]=m;var o={};for(var d in t)hasOwnProperty.call(t,d)&&(o[d]=t[d]);o.originalType=e,o.mdxType="string"==typeof e?e:n,l[1]=o;for(var u=2;u<p;u++)l[u]=a[u];return r.createElement.apply(null,l)}return r.createElement.apply(null,a)}m.displayName="MDXCreateElement"},6216:function(e,t,a){a.r(t),a.d(t,{frontMatter:function(){return o},contentTitle:function(){return d},metadata:function(){return u},toc:function(){return i},default:function(){return m}});var r=a(87462),n=a(63366),p=(a(67294),a(3905)),l=["components"],o={},d=void 0,u={unversionedId:"puppeteer",id:"version-10.0.0/puppeteer",isDocsHomePage:!1,title:"puppeteer",description:"Home > puppeteer",source:"@site/versioned_docs/version-10.0.0/puppeteer.md",sourceDirName:".",slug:"/puppeteer",permalink:"/puppeteer/docs/10.0.0/puppeteer",editUrl:"https://github.com/facebook/puppeteer/edit/main/website/versioned_docs/version-10.0.0/puppeteer.md",version:"10.0.0",frontMatter:{}},i=[{value:"puppeteer package",id:"puppeteer-package",children:[]},{value:"Classes",id:"classes",children:[]},{value:"Enumerations",id:"enumerations",children:[]},{value:"Functions",id:"functions",children:[]},{value:"Interfaces",id:"interfaces",children:[]},{value:"Variables",id:"variables",children:[]},{value:"Type Aliases",id:"type-aliases",children:[]}],s={toc:i};function m(e){var t=e.components,a=(0,n.Z)(e,l);return(0,p.kt)("wrapper",(0,r.Z)({},s,a,{components:t,mdxType:"MDXLayout"}),(0,p.kt)("p",null,(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/10.0.0/index"},"Home")," ",">"," ",(0,p.kt)("a",{parentName:"p",href:"/puppeteer/docs/10.0.0/puppeteer"},"puppeteer")),(0,p.kt)("h2",{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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.puppeteernode.launch"},"PuppeteerNode.launch()")," or ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.page.mainframe"},"page.mainFrame")," and ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.puppeteernode"},"PuppeteerNode")),(0,p.kt)("td",{parentName:"tr",align:null},"Extends the main ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.browseremittedevents"},"BrowserEmittedEvents")),(0,p.kt)("td",{parentName:"tr",align:null},"All the events a ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.connect"},"connect(options)")),(0,p.kt)("td",{parentName:"tr",align:null},"This method attaches Puppeteer 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/docs/10.0.0/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/docs/10.0.0/puppeteer.launch"},"launch(options)")),(0,p.kt)("td",{parentName:"tr",align:null},"Launches puppeteer and launches a browser instance with given arguments and options when specified.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/docs/10.0.0/puppeteer.registercustomqueryhandler"},"registerCustomQueryHandler(name, queryHandler)")),(0,p.kt)("td",{parentName:"tr",align:null},"Registers a ",(0,p.kt)("a",{parentName:"td",href:"/puppeteer/docs/10.0.0/puppeteer.customqueryhandler"},"custom query handler"),". After registration, the handler can be used everywhere where a selector is expected by prepending the selection string with ",(0,p.kt)("code",null,"<","name",">","/"),". The name is only allowed to consist of lower- and upper case latin letters.")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.jsonobject"},"JSONObject")),(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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.puppeteereventlistener"},"PuppeteerEventListener")),(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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.devices"},"devices")),(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/docs/10.0.0/puppeteer.errors"},"errors")),(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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.puppeteererrors"},"puppeteerErrors")),(0,p.kt)("td",{parentName:"tr",align:null})))),(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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.evaluatefn"},"EvaluateFn")),(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/docs/10.0.0/puppeteer.evaluatefnreturntype"},"EvaluateFnReturnType")),(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/docs/10.0.0/puppeteer.evaluatehandlefn"},"EvaluateHandleFn")),(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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.jsonarray"},"JSONArray")),(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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.predefinednetworkconditions"},"PredefinedNetworkConditions")),(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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/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/docs/10.0.0/puppeteer.serializable"},"Serializable")),(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/docs/10.0.0/puppeteer.serializableorjshandle"},"SerializableOrJSHandle")),(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/docs/10.0.0/puppeteer.targetfiltercallback"},"TargetFilterCallback")),(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/docs/10.0.0/puppeteer.unwrapelementhandle"},"UnwrapElementHandle")),(0,p.kt)("td",{parentName:"tr",align:null},"Unwraps a DOM element out of an ElementHandle instance")),(0,p.kt)("tr",{parentName:"tbody"},(0,p.kt)("td",{parentName:"tr",align:null},(0,p.kt)("a",{parentName:"td",href:"/puppeteer/docs/10.0.0/puppeteer.unwrappromiselike"},"UnwrapPromiseLike")),(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/docs/10.0.0/puppeteer.wrapelementhandle"},"WrapElementHandle")),(0,p.kt)("td",{parentName:"tr",align:null},"Wraps a DOM element into an ElementHandle instance")))))}m.isMDXComponent=!0}}]); |