1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["22859"],{58799(e,n,r){r.r(n),r.d(n,{metadata:()=>t,default:()=>h,frontMatter:()=>a,contentTitle:()=>p,toc:()=>l,assets:()=>c});var t=JSON.parse('{"id":"api/puppeteer.launch","title":"launch() function","description":"Signature","source":"@site/versioned_docs/version-25.12.0/api/puppeteer.launch.md","sourceDirName":"api","slug":"/api/puppeteer.launch","permalink":"/api/puppeteer.launch","draft":false,"unlisted":false,"tags":[],"version":"25.12.0","frontMatter":{"sidebar_label":"launch"},"sidebar":"api","previous":{"title":"KnownDevices","permalink":"/api/puppeteer.knowndevices"},"next":{"title":"LaunchOptions","permalink":"/api/puppeteer.launchoptions"}}'),i=r(74848),s=r(28453);let a={sidebar_label:"launch"},p="launch() function",c={},l=[{value:"Signature",id:"signature",level:3},{value:"Parameters",id:"parameters",level:2}];function o(e){let n={a:"a",code:"code",em:"em",h1:"h1",h2:"h2",h3:"h3",header:"header",p:"p",pre:"pre",strong:"strong",...(0,s.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"launch-function",children:"launch() function"})}),"\n",(0,i.jsx)(n.h3,{id:"signature",children:"Signature"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typescript",children:"launch: (options?: PuppeteerCore.LaunchOptions) =>\n Promise<PuppeteerCore.Browser>;\n"})}),"\n",(0,i.jsx)(n.h2,{id:"parameters",children:"Parameters"}),"\n",(0,i.jsxs)("table",{children:[(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{children:(0,i.jsx)(n.p,{children:"Parameter"})}),(0,i.jsx)("th",{children:(0,i.jsx)(n.p,{children:"Type"})}),(0,i.jsx)("th",{children:(0,i.jsx)(n.p,{children:"Description"})})]})}),(0,i.jsx)("tbody",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{children:(0,i.jsx)(n.p,{children:"options"})}),(0,i.jsx)("td",{children:(0,i.jsx)(n.p,{children:(0,i.jsx)(n.a,{href:"/api/puppeteer.launchoptions",children:"PuppeteerCore.LaunchOptions"})})}),(0,i.jsx)("td",{children:(0,i.jsx)(n.p,{children:(0,i.jsx)(n.em,{children:"(Optional)"})})})]})})]}),"\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.strong,{children:"Returns:"})}),"\n",(0,i.jsxs)(n.p,{children:["Promise<",(0,i.jsx)(n.a,{href:"/api/puppeteer.browser",children:"PuppeteerCore.Browser"}),">"]})]})}function h(e={}){let{wrapper:n}={...(0,s.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(o,{...e})}):o(e)}},28453(e,n,r){r.d(n,{R:()=>a,x:()=>p});var t=r(96540);let i={},s=t.createContext(i);function a(e){let n=t.useContext(s);return t.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function p(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),t.createElement(s.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.