puppeteer/assets/js/5f4cd2af.9dc6cd34.js

2 lines
3.0 KiB
JavaScript
Raw Normal View History

/*! For license information please see 5f4cd2af.9dc6cd34.js.LICENSE.txt */
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[94785],{82755:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>o,contentTitle:()=>a,default:()=>c,frontMatter:()=>s,metadata:()=>l,toc:()=>d});var r=t(85893),i=t(11151);const s={sidebar_label:"ElementHandle.isHidden"},a="ElementHandle.isHidden() method",l={id:"api/puppeteer.elementhandle.ishidden",title:"ElementHandle.isHidden() method",description:"Checks if an element is hidden using the same mechanism as ElementHandle.waitForSelector().",source:"@site/versioned_docs/version-21.6.0/api/puppeteer.elementhandle.ishidden.md",sourceDirName:"api",slug:"/api/puppeteer.elementhandle.ishidden",permalink:"/api/puppeteer.elementhandle.ishidden",draft:!1,unlisted:!1,tags:[],version:"21.6.0",frontMatter:{sidebar_label:"ElementHandle.isHidden"},sidebar:"api",previous:{title:"ElementHandle.hover",permalink:"/api/puppeteer.elementhandle.hover"},next:{title:"ElementHandle.isIntersectingViewport",permalink:"/api/puppeteer.elementhandle.isintersectingviewport"}},o={},d=[{value:"Signature:",id:"signature",level:4}];function p(e){const n={a:"a",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",strong:"strong",...(0,i.a)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.h1,{id:"elementhandleishidden-method",children:"ElementHandle.isHidden() method"}),"\n",(0,r.jsxs)(n.p,{children:["Checks if an element is hidden using the same mechanism as ",(0,r.jsx)(n.a,{href:"/api/puppeteer.elementhandle.waitforselector",children:"ElementHandle.waitForSelector()"}),"."]}),"\n",(0,r.jsx)(n.h4,{id:"signature",children:"Signature:"}),"\n",(0,r.jsx)(n.pre,{children:(0,r.jsx)(n.code,{className:"language-typescript",children:"class ElementHandle {\n isHidden(): Promise<boolean>;\n}\n"})}),"\n",(0,r.jsx)(n.p,{children:(0,r.jsx)(n.strong,{children:"Returns:"})}),"\n",(0,r.jsx)(n.p,{children:"Promise<boolean>"})]})}function c(e={}){const{wrapper:n}={...(0,i.a)(),...e.components};return n?(0,r.jsx)(n,{...e,children:(0,r.jsx)(p,{...e})}):p(e)}},75251:(e,n,t)=>{var r=t(67294),i=Symbol.for("react.element"),s=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function d(e,n,t){var r,s={},d=null,p=null;for(r in void 0!==t&&(d=""+t),void 0!==n.key&&(d=""+n.key),void 0!==n.ref&&(p=n.ref),n)a.call(n,r)&&!o.hasOwnProperty(r)&&(s[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===s[r]&&(s[r]=n[r]);return{$$typeof:i,type:e,key:d,ref:p,props:s,_owner:l.current}}n.Fragment=s,n.jsx=d,n.jsxs=d},85893:(e,n,t)=>{e.exports=t(75251)},11151:(e,n,t)=>{t.d(n,{Z:()=>l,a:()=>a});var r=t(67294);const i={},s=r.createContext(i);function a(e){const n=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:a(e.components),r.createElement(s.Provider,{value:n},e.children)}}}]);