mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
4.9 KiB
JavaScript
2 lines
4.9 KiB
JavaScript
|
/*! For license information please see c10f4a43.a0deb1cf.js.LICENSE.txt */
|
||
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[80349],{55241:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>i,contentTitle:()=>a,default:()=>o,frontMatter:()=>c,metadata:()=>d,toc:()=>l});var n=t(85893),s=t(11151);const c={sidebar_label:"ProductLauncher"},a="ProductLauncher class",d={id:"api/puppeteer.productlauncher",title:"ProductLauncher class",description:"Describes a launcher - a class that is able to create and launch a browser instance.",source:"@site/../docs/api/puppeteer.productlauncher.md",sourceDirName:"api",slug:"/api/puppeteer.productlauncher",permalink:"/next/api/puppeteer.productlauncher",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"ProductLauncher"},sidebar:"api",previous:{title:"Product",permalink:"/next/api/puppeteer.product"},next:{title:"ProductLauncher.defaultArgs",permalink:"/next/api/puppeteer.productlauncher.defaultargs"}},i={},l=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2},{value:"Properties",id:"properties",level:2},{value:"Methods",id:"methods",level:2}];function h(e){const r={a:"a",code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",...(0,s.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.h1,{id:"productlauncher-class",children:"ProductLauncher class"}),"\n",(0,n.jsx)(r.p,{children:"Describes a launcher - a class that is able to create and launch a browser instance."}),"\n",(0,n.jsx)(r.h4,{id:"signature",children:"Signature:"}),"\n",(0,n.jsx)(r.pre,{children:(0,n.jsx)(r.code,{className:"language-typescript",children:"export declare abstract class ProductLauncher\n"})}),"\n",(0,n.jsx)(r.h2,{id:"remarks",children:"Remarks"}),"\n",(0,n.jsxs)(r.p,{children:["The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the ",(0,n.jsx)(r.code,{children:"ProductLauncher"})," class."]}),"\n",(0,n.jsx)(r.h2,{id:"properties",children:"Properties"}),"\n",(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:(0,n.jsx)(r.p,{children:"Property"})}),(0,n.jsx)("th",{children:(0,n.jsx)(r.p,{children:"Modifiers"})}),(0,n.jsx)("th",{children:(0,n.jsx)(r.p,{children:"Type"})}),(0,n.jsx)("th",{children:(0,n.jsx)(r.p,{children:"Description"})})]})}),(0,n.jsx)("tbody",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)("span",{id:"product",children:"product"})}),(0,n.jsx)("td",{children:(0,n.jsx)(r.p,{children:(0,n.jsx)(r.code,{children:"readonly"})})}),(0,n.jsx)("td",{children:(0,n.jsx)(r.p,{children:(0,n.jsx)(r.a,{href:"/next/api/puppeteer.product",children:"Product"})})}),(0,n.jsx)("td",{})]})})]}),"\n",(0,n.jsx)(r.h2,{id:"methods",children:"Methods"}),"\n",(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{children:(0,n.jsxs)("tr",{children:[(0,n.jsx)("th",{children:(0,n.jsx)(r.p,{children:"Method"})}),(0,n.jsx)("th",{children:(0,n.jsx)(r.p,{children:"Modifiers"})}),(0,n.jsx)("th",{children:(0,n.jsx)(r.p,{children:"Description"})})]})}),(0,n.jsxs)("tbody",{children:[(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)("span",{id:"defaultargs",children:(0,n.jsx)(r.a,{href:"/next/api/puppeteer.productlauncher.defaultargs",children:"defaultArgs(object)"})})}),(0,n.jsx)("td",{}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)("span",{id:"executablepath",children:(0,n.jsx)(r.a,{href:"/next/api/puppeteer.productlauncher.executablepath",children:"executablePath(channel)"})})}),(0,n.jsx)("td",{}),(0,n.jsx)("td",{})]}),(0,n.jsxs)("tr",{children:[(0,n.jsx)("td",{children:(0,n.jsx)("span",{id:"launch",children:(0,n.jsx)(r.a,{href:"/next/api/puppeteer.productlauncher.launch",children:"launch(options)"})})}),(0,n.jsx)("td",{}),(0,n.jsx)("td",{})]})]})]})]})}function o(e={}){const{wrapper:r}={...(0,s.a)(),...e.components};return r?(0,n.jsx)(r,{...e,children:(0,n.jsx)(h,{...e})}):h(e)}},75251:(e,r,t)=>{var n=t(67294),s=Symbol.for("react.element"),c=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,d=n.__SE
|