puppeteer/assets/js/0536ff03.f52ac012.js

2 lines
2.7 KiB
JavaScript
Raw Normal View History

/*! For license information please see 0536ff03.f52ac012.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[3828],{96542:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>a,contentTitle:()=>o,default:()=>u,frontMatter:()=>i,metadata:()=>p,toc:()=>d});var t=s(85893),r=s(11151);const i={sidebar_label:"CDPSession.id"},o="CDPSession.id() method",p={id:"api/puppeteer.cdpsession.id",title:"CDPSession.id() method",description:"Returns the session's id.",source:"@site/../docs/api/puppeteer.cdpsession.id.md",sourceDirName:"api",slug:"/api/puppeteer.cdpsession.id",permalink:"/next/api/puppeteer.cdpsession.id",draft:!1,unlisted:!1,tags:[],version:"current",frontMatter:{sidebar_label:"CDPSession.id"},sidebar:"api",previous:{title:"CDPSession.detach",permalink:"/next/api/puppeteer.cdpsession.detach"},next:{title:"CDPSession.send",permalink:"/next/api/puppeteer.cdpsession.send"}},a={},d=[{value:"Signature:",id:"signature",level:4}];function c(e){const n={code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,r.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"cdpsessionid-method",children:"CDPSession.id() method"}),"\n",(0,t.jsx)(n.p,{children:"Returns the session's id."}),"\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:"class CDPSession {\n abstract id(): string;\n}\n"})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Returns:"})}),"\n",(0,t.jsx)(n.p,{children:"string"})]})}function u(e={}){const{wrapper:n}={...(0,r.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},75251:(e,n,s)=>{var t=s(67294),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,p=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function d(e,n,s){var t,i={},d=null,c=null;for(t in void 0!==s&&(d=""+s),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(c=n.ref),n)o.call(n,t)&&!a.hasOwnProperty(t)&&(i[t]=n[t]);if(e&&e.defaultProps)for(t in n=e.defaultProps)void 0===i[t]&&(i[t]=n[t]);return{$$typeof:r,type:e,key:d,ref:c,props:i,_owner:p.current}}n.Fragment=i,n.jsx=d,n.jsxs=d},85893:(e,n,s)=>{e.exports=s(75251)},11151:(e,n,s)=>{s.d(n,{Z:()=>p,a:()=>o});var t=s(67294);const r={},i=t.createContext(r);function o(e){const n=t.useContext(i);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(r):e.components||r:o(e.components),t.createElement(i.Provider,{value:n},e.children)}}}]);