"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[62847],{3905:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>c});vara=n(67294);functionr(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functiono(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}returnn}functioni(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}returne}functionl(e,t){if(null==e)return{};varn,a,r=function(e,t){if(null==e)return{};varn,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);returnr}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}returnr}varp=a.createContext({}),m=function(e){vart=a.useContext(p),n=t;returne&&(n="function"==typeofe?e(t):i(i({},t),e)),n},s=function(e){vart=m(e.components);returna.createElement(p.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){vart=e.children;returna.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){varn=e.components,r=e.mdxType,o=e.originalType,p=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),d=m(n),c=r,h=d["".concat(p,".").concat(c)]||d[c]||u[c]||o;returnn?a.createElement(h,i(i({ref:t},s),{},{components:n})):a.createElement(h,i({ref:t},s))}));functionc(e,t){varn=arguments,r=t&&t.mdxType;if("string"==typeofe||r){varo=n.length,i=newArray(o);i[0]=d;varl={};for(varpint)hasOwnProperty.call(t,p)&&(l[p]=t[p]);l.originalType=e,l.mdxType="string"==typeofe?e:r,i[1]=l;for(varm=2;m<o;m++)i[m]=n[m];returna.createElement.apply(null,i)}returna.createElement.apply(null,n)}d.displayName="MDXCreateElement"},79266:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>m,contentTitle:()=>l,default:()=>d,frontMatter:()=>i,metadata:()=>p,toc:()=>s});n(67294);vara=n(3905);functionr(){returnr=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(varainn)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}returne},r.apply(this,arguments)}functiono(e,t){if(null==e)return{};varn,a,r=function(e,t){if(null==e)return{};varn,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);returnr}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}returnr}consti={sidebar_label:"ElementHandle.waitForXPath"},l="ElementHandle.waitForXPath() method",p={unversionedId:"api/puppeteer.elementhandle.waitforxpath",id:"version-19.7.1/api/puppeteer.elementhandle.waitforxpath",title:"ElementHandle.waitForXPath() method",description:"Warning: This API is now obsolete.",source:"@site/versioned_docs/version-19.7.1/api/puppeteer.elementhandle.waitforxpath.md",sourceDirName:"api",slug:"/api/puppeteer.elementhandle.waitforxpath",permalink:"/api/puppeteer.elementhandle.waitforxpath",draft:!1,tags:[],version:"19.7.1",frontMatter:{sidebar_label:"ElementHandle.waitForXPath"},sidebar:"api",previous:{title:"ElementHandle.waitForSelector",permalink:"/api/puppeteer.elementhandle.waitforselector"},next:{title:"HTTPRequest",permalink:"/api/puppeteer.httprequest"}},m={},s=[{value:"Signature:",id:"signature",level:4},{value:"Parameters",id:"parameters",level:2},{value:"Remarks",id:"remarks",level:2}],u={toc:s};functiond(e){var{components:t}=e,n=o(e,["components"]);return(0,a.kt)("wrapper",r({},u,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h1",r({},{id:"elementhandlewaitforxpath-method"}),"ElementHandle.waitForXPath() method"),(0,a