"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[67213],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>f});varr=n(67294);functioni(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functiona(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}returnn}functionl(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}returne}functiono(e,t){if(null==e)return{};varn,r,i=function(e,t){if(null==e)return{};varn,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);returni}(e,t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}returni}varp=r.createContext({}),s=function(e){vart=r.useContext(p),n=t;returne&&(n="function"==typeofe?e(t):l(l({},t),e)),n},c=function(e){vart=s(e.components);returnr.createElement(p.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){vart=e.children;returnr.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){varn=e.components,i=e.mdxType,a=e.originalType,p=e.parentName,c=o(e,["components","mdxType","originalType","parentName"]),m=s(n),f=i,d=m["".concat(p,".").concat(f)]||m[f]||u[f]||a;returnn?r.createElement(d,l(l({ref:t},c),{},{components:n})):r.createElement(d,l({ref:t},c))}));functionf(e,t){varn=arguments,i=t&&t.mdxType;if("string"==typeofe||i){vara=n.length,l=newArray(a);l[0]=m;varo={};for(varpint)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o.mdxType="string"==typeofe?e:i,l[1]=o;for(vars=2;s<a;s++)l[s]=n[s];returnr.createElement.apply(null,l)}returnr.createElement.apply(null,n)}m.displayName="MDXCreateElement"},34296:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>m,frontMatter:()=>l,metadata:()=>p,toc:()=>c});n(67294);varr=n(3905);functioni(){returni=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}returne},i.apply(this,arguments)}functiona(e,t){if(null==e)return{};varn,r,i=function(e,t){if(null==e)return{};varn,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);returni}(e,t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}returni}constl={sidebar_label:"ElementHandle.isVisible"},o="ElementHandle.isVisible() method",p={unversionedId:"api/puppeteer.elementhandle.isvisible",id:"version-21.2.1/api/puppeteer.elementhandle.isvisible",title:"ElementHandle.isVisible() method",description:"Checks if an element is visible using the same mechanism as ElementHandle.waitForSelector().",source:"@site/versioned_docs/version-21.2.1/api/puppeteer.elementhandle.isvisible.md",sourceDirName:"api",slug:"/api/puppeteer.elementhandle.isvisible",permalink:"/api/puppeteer.elementhandle.isvisible",draft:!1,tags:[],version:"21.2.1",frontMatter:{sidebar_label:"ElementHandle.isVisible"},sidebar:"api",previous:{title:"ElementHandle.isIntersectingViewport",permalink:"/api/puppeteer.elementhandle.isintersectingviewport"},next:{title:"ElementHandle.press",permalink:"/api/puppeteer.elementhandle.press"}},s={},c=[{value:"Signature:",id:"signature",level:4}],u={toc:c};functionm(e){var{components:t}=e,n=a(e,["components"]);return(0,r.kt)("wrapper",i({},u,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",i({},{id:"elementhandleisvisible-method"}),"ElementHandle.isVisible() method"),(0,r.kt)("p",null,"Checksifane