"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9150],{3905:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>f});varr=n(67294);functiono(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functioni(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}functiona(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}returne}functionp(e,t){if(null==e)return{};varn,r,o=function(e,t){if(null==e)return{};varn,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);returno}(e,t);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}returno}varu=r.createContext({}),c=function(e){vart=r.useContext(u),n=t;returne&&(n="function"==typeofe?e(t):a(a({},t),e)),n},s=function(e){vart=c(e.components);returnr.createElement(u.Provider,{value:t},e.children)},l={inlineCode:"code",wrapper:function(e){vart=e.children;returnr.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){varn=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,s=p(e,["components","mdxType","originalType","parentName"]),m=c(n),f=o,d=m["".concat(u,".").concat(f)]||m[f]||l[f]||i;returnn?r.createElement(d,a(a({ref:t},s),{},{components:n})):r.createElement(d,a({ref:t},s))}));functionf(e,t){varn=arguments,o=t&&t.mdxType;if("string"==typeofe||o){vari=n.length,a=newArray(i);a[0]=m;varp={};for(varuint)hasOwnProperty.call(t,u)&&(p[u]=t[u]);p.originalType=e,p.mdxType="string"==typeofe?e:o,a[1]=p;for(varc=2;c<i;c++)a[c]=n[c];returnr.createElement.apply(null,a)}returnr.createElement.apply(null,n)}m.displayName="MDXCreateElement"},26837:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>u,contentTitle:()=>a,default:()=>l,frontMatter:()=>i,metadata:()=>p,toc:()=>c});varr=n(87462),o=(n(67294),n(3905));consti={sidebar_label:"FrameWaitForFunctionOptions.timeout"},a="FrameWaitForFunctionOptions.timeout property",p={unversionedId:"api/puppeteer.framewaitforfunctionoptions.timeout",id:"api/puppeteer.framewaitforfunctionoptions.timeout",title:"FrameWaitForFunctionOptions.timeout property",description:"Maximum time to wait in milliseconds. Defaults to 30000 (30 seconds). Pass 0 to disable the timeout. Puppeteer's default timeout can be changed using Page.setDefaultTimeout().",source:"@site/../docs/api/puppeteer.framewaitforfunctionoptions.timeout.md",sourceDirName:"api",slug:"/api/puppeteer.framewaitforfunctionoptions.timeout",permalink:"/next/api/puppeteer.framewaitforfunctionoptions.timeout",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"FrameWaitForFunctionOptions.timeout"},sidebar:"sidebar",previous:{title:"FrameWaitForFunctionOptions.polling",permalink:"/next/api/puppeteer.framewaitforfunctionoptions.polling"},next:{title:"GeolocationOptions.accuracy",permalink:"/next/api/puppeteer.geolocationoptions.accuracy"}},u={},c=[],s={toc:c};functionl(e){let{components:t,...n}=e;return(0,o.kt)("wrapper",(0,r.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"framewaitforfunctionoptionstimeout-property"},"FrameWaitForFunctionOptions.timeout property"),(0,o.kt)("p",null,"Maximum time to wait in milliseconds. Defaults to ",(0,o.kt)("inlineCode",{parentName:"p"},"30000")," (30 seconds). Pass ",(0,o.kt)("inlineCode",{parentName:"p"},"0")," to disable the timeout. Puppeteer's default timeout can be changed using ",(0,o.kt)("a",{parentName:"p",href:"/next/api/puppeteer.page.setdefaulttimeout"},"Page.setDefaultTimeout()"),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Signature:")),(0,