puppeteer/assets/js/79be9ef0.12e0cced.js
release-please[bot] cc95c085a2 deploy: 1014abc087
2023-11-29 13:34:30 +00:00

2 lines
3.4 KiB
JavaScript

/*! For license information please see 79be9ef0.12e0cced.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[13734],{41297:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>s,default:()=>l,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var p=n(85893),r=n(11151);const o={sidebar_label:"PuppeteerNodeLaunchOptions"},s="PuppeteerNodeLaunchOptions type",i={id:"api/puppeteer.puppeteernodelaunchoptions",title:"PuppeteerNodeLaunchOptions type",description:"Utility type exposed to enable users to define options that can be passed to puppeteer.launch without having to list the set of all types.",source:"@site/../docs/api/puppeteer.puppeteernodelaunchoptions.md",sourceDirName:"api",slug:"/api/puppeteer.puppeteernodelaunchoptions",permalink:"/next/api/puppeteer.puppeteernodelaunchoptions",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"PuppeteerNodeLaunchOptions"},sidebar:"api",previous:{title:"PuppeteerLifeCycleEvent",permalink:"/next/api/puppeteer.puppeteerlifecycleevent"},next:{title:"Quad",permalink:"/next/api/puppeteer.quad"}},a={},u=[{value:"Signature:",id:"signature",level:4}];function c(e){const t={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,r.a)(),...e.components};return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(t.h1,{id:"puppeteernodelaunchoptions-type",children:"PuppeteerNodeLaunchOptions type"}),"\n",(0,p.jsxs)(t.p,{children:["Utility type exposed to enable users to define options that can be passed to ",(0,p.jsx)(t.code,{children:"puppeteer.launch"})," without having to list the set of all types."]}),"\n",(0,p.jsx)(t.h4,{id:"signature",children:"Signature:"}),"\n",(0,p.jsx)(t.pre,{children:(0,p.jsx)(t.code,{className:"language-typescript",children:"export type PuppeteerNodeLaunchOptions = BrowserLaunchArgumentOptions &\n LaunchOptions &\n BrowserConnectOptions;\n"})}),"\n",(0,p.jsxs)(t.p,{children:[(0,p.jsx)(t.strong,{children:"References:"})," ",(0,p.jsx)(t.a,{href:"/next/api/puppeteer.browserlaunchargumentoptions",children:"BrowserLaunchArgumentOptions"}),", ",(0,p.jsx)(t.a,{href:"/next/api/puppeteer.launchoptions",children:"LaunchOptions"}),", ",(0,p.jsx)(t.a,{href:"/next/api/puppeteer.browserconnectoptions",children:"BrowserConnectOptions"})]})]})}function l(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,p.jsx)(t,{...e,children:(0,p.jsx)(c,{...e})}):c(e)}},75251:(e,t,n)=>{var p=n(67294),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,i=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var p,o={},u=null,c=null;for(p in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)s.call(t,p)&&!a.hasOwnProperty(p)&&(o[p]=t[p]);if(e&&e.defaultProps)for(p in t=e.defaultProps)void 0===o[p]&&(o[p]=t[p]);return{$$typeof:r,type:e,key:u,ref:c,props:o,_owner:i.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},85893:(e,t,n)=>{e.exports=n(75251)},11151:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>s});var p=n(67294);const r={},o=p.createContext(r);function s(e){const t=p.useContext(o);return p.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),p.createElement(o.Provider,{value:t},e.children)}}}]);