puppeteer/assets/js/986faca5.211a2a45.js

2 lines
3.6 KiB
JavaScript
Raw Normal View History

/*! For license information please see 986faca5.211a2a45.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[98987],{4303:(e,r,n)=>{n.r(r),n.d(r,{assets:()=>p,contentTitle:()=>o,default:()=>l,frontMatter:()=>a,metadata:()=>s,toc:()=>i});var t=n(85893),c=n(11151);const a={sidebar_label:"ProductLauncher.launch"},o="ProductLauncher.launch() method",s={id:"api/puppeteer.productlauncher.launch",title:"ProductLauncher.launch() method",description:"Signature:",source:"@site/../docs/api/puppeteer.productlauncher.launch.md",sourceDirName:"api",slug:"/api/puppeteer.productlauncher.launch",permalink:"/next/api/puppeteer.productlauncher.launch",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"ProductLauncher.launch"},sidebar:"api",previous:{title:"ProductLauncher.executablePath",permalink:"/next/api/puppeteer.productlauncher.executablepath"},next:{title:"ProtocolError",permalink:"/next/api/puppeteer.protocolerror"}},p={},i=[{value:"Signature:",id:"signature",level:4},{value:"Parameters",id:"parameters",level:2}];function u(e){const r={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,c.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h1,{id:"productlauncherlaunch-method",children:"ProductLauncher.launch() method"}),"\n",(0,t.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,t.jsx)(r.pre,{children:(0,t.jsx)(r.code,{className:"language-typescript",children:"class ProductLauncher {\n launch(options?: PuppeteerNodeLaunchOptions): Promise<Browser>;\n}\n"})}),"\n",(0,t.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)("table",{children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:(0,t.jsx)(r.p,{children:"Parameter"})}),(0,t.jsx)("th",{children:(0,t.jsx)(r.p,{children:"Type"})}),(0,t.jsx)("th",{children:(0,t.jsx)(r.p,{children:"Description"})})]})}),(0,t.jsx)("tbody",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:(0,t.jsx)(r.p,{children:"options"})}),(0,t.jsx)("td",{children:(0,t.jsx)(r.p,{children:(0,t.jsx)(r.a,{href:"/next/api/puppeteer.puppeteernodelaunchoptions",children:"PuppeteerNodeLaunchOptions"})})}),(0,t.jsx)("td",{children:(0,t.jsx)(r.p,{children:(0,t.jsx)(r.em,{children:"(Optional)"})})})]})})]}),"\n",(0,t.jsx)(r.p,{children:(0,t.jsx)(r.strong,{children:"Returns:"})}),"\n",(0,t.jsxs)(r.p,{children:["Promise<",(0,t.jsx)(r.a,{href:"/next/api/puppeteer.browser",children:"Browser"}),">"]})]})}function l(e={}){const{wrapper:r}={...(0,c.a)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(u,{...e})}):u(e)}},75251:(e,r,n)=>{var t=n(67294),c=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function i(e,r,n){var t,a={},i=null,u=null;for(t in void 0!==n&&(i=""+n),void 0!==r.key&&(i=""+r.key),void 0!==r.ref&&(u=r.ref),r)o.call(r,t)&&!p.hasOwnProperty(t)&&(a[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===a[t]&&(a[t]=r[t]);return{$$typeof:c,type:e,key:i,ref:u,props:a,_owner:s.current}}r.Fragment=a,r.jsx=i,r.jsxs=i},85893:(e,r,n)=>{e.exports=n(75251)},11151:(e,r,n)=>{n.d(r,{Z:()=>s,a:()=>o});var t=n(67294);const c={},a=t.createContext(c);function o(e){const r=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function s(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(c):e.components||c:o(e.components),t.createElement(a.Provider,{value:r},e.children)}}}]);