mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
2 lines
2.8 KiB
JavaScript
2 lines
2.8 KiB
JavaScript
/*! For license information please see 826aa050.123b4b10.js.LICENSE.txt */
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[6958],{3417:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>p,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>c,toc:()=>a});var o=t(85893),s=t(11151);const r={sidebar_label:"CDPSession.connection"},i="CDPSession.connection() method",c={id:"api/puppeteer.cdpsession.connection",title:"CDPSession.connection() method",description:"Signature:",source:"@site/versioned_docs/version-22.6.4/api/puppeteer.cdpsession.connection.md",sourceDirName:"api",slug:"/api/puppeteer.cdpsession.connection",permalink:"/api/puppeteer.cdpsession.connection",draft:!1,unlisted:!1,tags:[],version:"22.6.4",frontMatter:{sidebar_label:"CDPSession.connection"},sidebar:"api",previous:{title:"CDPSession",permalink:"/api/puppeteer.cdpsession"},next:{title:"CDPSession.detach",permalink:"/api/puppeteer.cdpsession.detach"}},p={},a=[{value:"Signature:",id:"signature",level:4}];function d(e){const n={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,s.a)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(n.h1,{id:"cdpsessionconnection-method",children:"CDPSession.connection() method"}),"\n",(0,o.jsx)(n.h4,{id:"signature",children:"Signature:"}),"\n",(0,o.jsx)(n.pre,{children:(0,o.jsx)(n.code,{className:"language-typescript",children:"class CDPSession {\n abstract connection(): Connection | undefined;\n}\n"})}),"\n",(0,o.jsx)(n.p,{children:(0,o.jsx)(n.strong,{children:"Returns:"})}),"\n",(0,o.jsxs)(n.p,{children:[(0,o.jsx)(n.a,{href:"/api/puppeteer.connection",children:"Connection"})," | undefined"]})]})}function u(e={}){const{wrapper:n}={...(0,s.a)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(d,{...e})}):d(e)}},75251:(e,n,t)=>{var o=t(67294),s=Symbol.for("react.element"),r=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,c=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,t){var o,r={},a=null,d=null;for(o in void 0!==t&&(a=""+t),void 0!==n.key&&(a=""+n.key),void 0!==n.ref&&(d=n.ref),n)i.call(n,o)&&!p.hasOwnProperty(o)&&(r[o]=n[o]);if(e&&e.defaultProps)for(o in n=e.defaultProps)void 0===r[o]&&(r[o]=n[o]);return{$$typeof:s,type:e,key:a,ref:d,props:r,_owner:c.current}}n.Fragment=r,n.jsx=a,n.jsxs=a},85893:(e,n,t)=>{e.exports=t(75251)},11151:(e,n,t)=>{t.d(n,{Z:()=>c,a:()=>i});var o=t(67294);const s={},r=o.createContext(s);function i(e){const n=o.useContext(r);return o.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function c(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:i(e.components),o.createElement(r.Provider,{value:n},e.children)}}}]); |