"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[73405],{3905:(e,n,t)=>{t.d(n,{Zo:()=>c,kt:()=>m});varr=t(67294);functiono(e,n,t){returnnine?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}functionl(e,n){vart=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){returnObject.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}returnt}functiona(e){for(varn=1;n<arguments.length;n++){vart=null!=arguments[n]?arguments[n]:{};n%2?l(Object(t),!0).forEach((function(n){o(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}returne}functioni(e,n){if(null==e)return{};vart,r,o=function(e,n){if(null==e)return{};vart,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)t=l[r],n.indexOf(t)>=0||(o[t]=e[t]);returno}(e,n);if(Object.getOwnPropertySymbols){varl=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)t=l[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}returno}varp=r.createContext({}),u=function(e){varn=r.useContext(p),t=n;returne&&(t="function"==typeofe?e(n):a(a({},n),e)),t},c=function(e){varn=u(e.components);returnr.createElement(p.Provider,{value:n},e.children)},s={inlineCode:"code",wrapper:function(e){varn=e.children;returnr.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){vart=e.components,o=e.mdxType,l=e.originalType,p=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),d=u(t),m=o,b=d["".concat(p,".").concat(m)]||d[m]||s[m]||l;returnt?r.createElement(b,a(a({ref:n},c),{},{components:t})):r.createElement(b,a({ref:n},c))}));functionm(e,n){vart=arguments,o=n&&n.mdxType;if("string"==typeofe||o){varl=t.length,a=newArray(l);a[0]=d;vari={};for(varpinn)hasOwnProperty.call(n,p)&&(i[p]=n[p]);i.originalType=e,i.mdxType="string"==typeofe?e:o,a[1]=i;for(varu=2;u<l;u++)a[u]=t[u];returnr.createElement.apply(null,a)}returnr.createElement.apply(null,t)}d.displayName="MDXCreateElement"},23399:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>u,contentTitle:()=>i,default:()=>d,frontMatter:()=>a,metadata:()=>p,toc:()=>c});t(67294);varr=t(3905);functiono(){returno=Object.assign||function(e){for(varn=1;n<arguments.length;n++){vart=arguments[n];for(varrint)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}returne},o.apply(this,arguments)}functionl(e,n){if(null==e)return{};vart,r,o=function(e,n){if(null==e)return{};vart,r,o={},l=Object.keys(e);for(r=0;r<l.length;r++)t=l[r],n.indexOf(t)>=0||(o[t]=e[t]);returno}(e,n);if(Object.getOwnPropertySymbols){varl=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)t=l[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}returno}consta={sidebar_label:"ElementHandle.boundingBox"},i="ElementHandle.boundingBox() method",p={unversionedId:"api/puppeteer.elementhandle.boundingbox",id:"version-21.1.1/api/puppeteer.elementhandle.boundingbox",title:"ElementHandle.boundingBox() method",description:"This method returns the bounding box of the element (relative to the main frame), or null if the element is not visible.",source:"@site/versioned_docs/version-21.1.1/api/puppeteer.elementhandle.boundingbox.md",sourceDirName:"api",slug:"/api/puppeteer.elementhandle.boundingbox",permalink:"/api/puppeteer.elementhandle.boundingbox",draft:!1,tags:[],version:"21.1.1",frontMatter:{sidebar_label:"ElementHandle.boundingBox"},sidebar:"api",previous:{title:"ElementHandle.autofill",permalink:"/api/puppeteer.elementhandle.autofill"},next:{title:"ElementHandle.boxModel",permalink:"/api/puppeteer.elementhandle.boxmodel"}},u={},c=[{value:"Signature:",id:"signature",level:4}],s={toc:c};functiond(e){var{components:n}=e,t=l(e,["components"]);return(0,r.kt)("wrapper",o({},s,t,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("h1",o({},{id:"elementhandleboundingbox-method"}),"ElementHandle.boundingBox() method"),(0,r.