mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
2.5 KiB
JavaScript
2 lines
2.5 KiB
JavaScript
/*! For license information please see 74b2b6aa.1dbb1066.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[76877],{12407:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>s,contentTitle:()=>i,default:()=>l,frontMatter:()=>o,metadata:()=>p,toc:()=>c});var t=r(85893),a=r(11151);const o={sidebar_label:"launch"},i="launch variable",p={id:"api/puppeteer.launch",title:"launch variable",description:"Signature:",source:"@site/versioned_docs/version-22.0.0/api/puppeteer.launch.md",sourceDirName:"api",slug:"/api/puppeteer.launch",permalink:"/api/puppeteer.launch",draft:!1,unlisted:!1,tags:[],version:"22.0.0",frontMatter:{sidebar_label:"launch"},sidebar:"api",previous:{title:"KnownDevices",permalink:"/api/puppeteer.knowndevices"},next:{title:"LaunchOptions",permalink:"/api/puppeteer.launchoptions"}},s={},c=[{value:"Signature:",id:"signature",level:4}];function u(e){const n={code:"code",h1:"h1",h4:"h4",pre:"pre",...(0,a.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"launch-variable",children:"launch variable"}),"\n",(0,t.jsx)(n.h4,{id:"signature",children:"Signature:"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-typescript",children:"launch: (\n options?:\n | import('puppeteer-core/internal/puppeteer-core.js').PuppeteerLaunchOptions\n | undefined\n) => Promise<import('puppeteer-core/internal/puppeteer-core.js').Browser>;\n"})})]})}function l(e={}){const{wrapper:n}={...(0,a.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(u,{...e})}):u(e)}},75251:(e,n,r)=>{var t=r(67294),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,p=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function c(e,n,r){var t,o={},c=null,u=null;for(t in void 0!==r&&(c=""+r),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(u=n.ref),n)i.call(n,t)&&!s.hasOwnProperty(t)&&(o[t]=n[t]);if(e&&e.defaultProps)for(t in n=e.defaultProps)void 0===o[t]&&(o[t]=n[t]);return{$$typeof:a,type:e,key:c,ref:u,props:o,_owner:p.current}}n.Fragment=o,n.jsx=c,n.jsxs=c},85893:(e,n,r)=>{e.exports=r(75251)},11151:(e,n,r)=>{r.d(n,{Z:()=>p,a:()=>i});var t=r(67294);const a={},o=t.createContext(a);function i(e){const n=t.useContext(o);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(a):e.components||a:i(e.components),t.createElement(o.Provider,{value:n},e.children)}}}]); |