/*! For license information please see 51020d5c.3f866a7d.js.LICENSE.txt */ "use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[74652],{35208:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>i,contentTitle:()=>p,default:()=>c,frontMatter:()=>a,metadata:()=>s,toc:()=>l});var t=r(85893),o=r(11151);const a={sidebar_label:"HandleFor"},p="HandleFor type",s={id:"api/puppeteer.handlefor",title:"HandleFor type",description:"Signature:",source:"@site/versioned_docs/version-22.8.0/api/puppeteer.handlefor.md",sourceDirName:"api",slug:"/api/puppeteer.handlefor",permalink:"/api/puppeteer.handlefor",draft:!1,unlisted:!1,tags:[],version:"22.8.0",frontMatter:{sidebar_label:"HandleFor"},sidebar:"api",previous:{title:"GoToOptions",permalink:"/api/puppeteer.gotooptions"},next:{title:"HandleOr",permalink:"/api/puppeteer.handleor"}},i={},l=[{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,o.a)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.h1,{id:"handlefor-type",children:"HandleFor type"}),"\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:"export type HandleFor = T extends Node ? ElementHandle : JSHandle;\n"})}),"\n",(0,t.jsxs)(n.p,{children:[(0,t.jsx)(n.strong,{children:"References:"})," ",(0,t.jsx)(n.a,{href:"/api/puppeteer.elementhandle",children:"ElementHandle"}),", ",(0,t.jsx)(n.a,{href:"/api/puppeteer.jshandle",children:"JSHandle"})]})]})}function c(e={}){const{wrapper:n}={...(0,o.a)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(d,{...e})}):d(e)}},75251:(e,n,r)=>{var t=r(67294),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),p=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(e,n,r){var t,a={},l=null,d=null;for(t in void 0!==r&&(l=""+r),void 0!==n.key&&(l=""+n.key),void 0!==n.ref&&(d=n.ref),n)p.call(n,t)&&!i.hasOwnProperty(t)&&(a[t]=n[t]);if(e&&e.defaultProps)for(t in n=e.defaultProps)void 0===a[t]&&(a[t]=n[t]);return{$$typeof:o,type:e,key:l,ref:d,props:a,_owner:s.current}}n.Fragment=a,n.jsx=l,n.jsxs=l},85893:(e,n,r)=>{e.exports=r(75251)},11151:(e,n,r)=>{r.d(n,{Z:()=>s,a:()=>p});var t=r(67294);const o={},a=t.createContext(o);function p(e){const n=t.useContext(a);return t.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:p(e.components),t.createElement(a.Provider,{value:n},e.children)}}}]);