mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
3.3 KiB
JavaScript
2 lines
3.3 KiB
JavaScript
/*! For license information please see fe8cad2f.d47c7abb.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[4063],{82814:(e,r,s)=>{s.r(r),s.d(r,{assets:()=>i,contentTitle:()=>c,default:()=>p,frontMatter:()=>n,metadata:()=>a,toc:()=>l});var t=s(85893),o=s(11151);const n={sidebar_label:"Process.(constructor)"},c="Process.(constructor)",a={id:"browsers-api/browsers.process._constructor_",title:"Process.(constructor)",description:"Constructs a new instance of the Process class",source:"@site/../docs/browsers-api/browsers.process._constructor_.md",sourceDirName:"browsers-api",slug:"/browsers-api/browsers.process._constructor_",permalink:"/next/browsers-api/browsers.process._constructor_",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"Process.(constructor)"},sidebar:"browsersApi",previous:{title:"Process",permalink:"/next/browsers-api/browsers.process"},next:{title:"Process.close",permalink:"/next/browsers-api/browsers.process.close"}},i={},l=[{value:"Signature:",id:"signature",level:4},{value:"Parameters",id:"parameters",level:2}];function d(e){const r={a:"a",code:"code",h1:"h1",h2:"h2",h4:"h4",p:"p",pre:"pre",table:"table",tbody:"tbody",td:"td",th:"th",thead:"thead",tr:"tr",...(0,o.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.h1,{id:"processconstructor",children:"Process.(constructor)"}),"\n",(0,t.jsxs)(r.p,{children:["Constructs a new instance of the ",(0,t.jsx)(r.code,{children:"Process"})," class"]}),"\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 Process {\n constructor(opts: LaunchOptions);\n}\n"})}),"\n",(0,t.jsx)(r.h2,{id:"parameters",children:"Parameters"}),"\n",(0,t.jsxs)(r.table,{children:[(0,t.jsx)(r.thead,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.th,{children:"Parameter"}),(0,t.jsx)(r.th,{children:"Type"}),(0,t.jsx)(r.th,{children:"Description"})]})}),(0,t.jsx)(r.tbody,{children:(0,t.jsxs)(r.tr,{children:[(0,t.jsx)(r.td,{children:"opts"}),(0,t.jsx)(r.td,{children:(0,t.jsx)(r.a,{href:"/next/browsers-api/browsers.launchoptions",children:"LaunchOptions"})}),(0,t.jsx)(r.td,{})]})})]})]})}function p(e={}){const{wrapper:r}={...(0,o.a)(),...e.components};return r?(0,t.jsx)(r,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},75251:(e,r,s)=>{var t=s(67294),o=Symbol.for("react.element"),n=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,r,s){var t,n={},l=null,d=null;for(t in void 0!==s&&(l=""+s),void 0!==r.key&&(l=""+r.key),void 0!==r.ref&&(d=r.ref),r)c.call(r,t)&&!i.hasOwnProperty(t)&&(n[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===n[t]&&(n[t]=r[t]);return{$$typeof:o,type:e,key:l,ref:d,props:n,_owner:a.current}}r.Fragment=n,r.jsx=l,r.jsxs=l},85893:(e,r,s)=>{e.exports=s(75251)},11151:(e,r,s)=>{s.d(r,{Z:()=>a,a:()=>c});var t=s(67294);const o={},n=t.createContext(o);function c(e){const r=t.useContext(n);return t.useMemo((function(){return"function"==typeof e?e(r):{...r,...e}}),[r,e])}function a(e){let r;return r=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),t.createElement(n.Provider,{value:r},e.children)}}}]); |