|
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[99849],{40460:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>d,contentTitle:()=>o,default:()=>l,frontMatter:()=>i,metadata:()=>p,toc:()=>a});var t=n(85893),r=n(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/versioned_docs/version-22.8.1/api/puppeteer.cdpsession.id.md",sourceDirName:"api",slug:"/api/puppeteer.cdpsession.id",permalink:"/api/puppeteer.cdpsession.id",draft:!1,unlisted:!1,tags:[],version:"22.8.1",frontMatter:{sidebar_label:"CDPSession.id"},sidebar:"api",previous:{title:"CDPSession.detach",permalink:"/api/puppeteer.cdpsession.detach"},next:{title:"CDPSession.send",permalink:"/api/puppeteer.cdpsession.send"}},d={},a=[{value:"Signature:",id:"signature",level:4}];function c(e){const s={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)(s.h1,{id:"cdpsessionid-method",children:"CDPSession.id() method"}),"\n",(0,t.jsx)(s.p,{children:"Returns the session's id."}),"\n",(0,t.jsx)(s.h4,{id:"signature",children:"Signature:"}),"\n",(0,t.jsx)(s.pre,{children:(0,t.jsx)(s.code,{className:"language-typescript",children:"class CDPSession {\n abstract id(): string;\n}\n"})}),"\n",(0,t.jsx)(s.p,{children:(0,t.jsx)(s.strong,{children:"Returns:"})}),"\n",(0,t.jsx)(s.p,{children:"string"})]})}function l(e={}){const{wrapper:s}={...(0,r.a)(),...e.components};return s?(0,t.jsx)(s,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},75251:(e,s,n)=>{var t=n(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,d={key:!0,ref:!0,__self:!0,__source:!0};function a(e,s,n){var t,i={},a=null,c=null;for(t in void 0!==n&&(a=""+n),void 0!==s.key&&(a=""+s.key),void 0!==s.ref&&(c=s.ref),s)o.call(s,t)&&!d.hasOwnProperty(t)&&(i[t]=s[t]);if(e&&e.defaultProps)for(t in s=e.defaultProps)void 0===i[t]&&(i[t]=s[t]);return{$$typeof:r,type:e,key:a,ref:c,props:i,_owner:p.current}}s.Fragment=i,s.jsx=a,s.jsxs=a},85893:(e,s,n)=>{e.exports=n(75251)},11151:(e,s,n)=>{n.d(s,{Z:()=>p,a:()=>o});var t=n(67294);const r={},i=t.createContext(r);function o(e){const s=t.useContext(i);return t.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function p(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:o(e.components),t.createElement(i.Provider,{value:s},e.children)}}}]);
|