"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[52645],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>m});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var u=n.createContext({}),c=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},l=function(e){var t=c(e.components);return n.createElement(u.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,i=e.originalType,u=e.parentName,l=p(e,["components","mdxType","originalType","parentName"]),f=c(r),m=o,d=f["".concat(u,".").concat(m)]||f[m]||s[m]||i;return r?n.createElement(d,a(a({ref:t},l),{},{components:r})):n.createElement(d,a({ref:t},l))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var i=r.length,a=new Array(i);a[0]=f;var p={};for(var u in t)hasOwnProperty.call(t,u)&&(p[u]=t[u]);p.originalType=e,p.mdxType="string"==typeof e?e:o,a[1]=p;for(var c=2;c{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>p,default:()=>f,frontMatter:()=>a,metadata:()=>u,toc:()=>l});r(67294);var n=r(3905);function o(){return o=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const a={sidebar_label:"FrameWaitForFunctionOptions.timeout"},p="FrameWaitForFunctionOptions.timeout property",u={unversionedId:"api/puppeteer.framewaitforfunctionoptions.timeout",id:"version-19.5.1/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/versioned_docs/version-19.5.1/api/puppeteer.framewaitforfunctionoptions.timeout.md",sourceDirName:"api",slug:"/api/puppeteer.framewaitforfunctionoptions.timeout",permalink:"/api/puppeteer.framewaitforfunctionoptions.timeout",draft:!1,tags:[],version:"19.5.1",frontMatter:{sidebar_label:"FrameWaitForFunctionOptions.timeout"},sidebar:"api",previous:{title:"FrameWaitForFunctionOptions.polling",permalink:"/api/puppeteer.framewaitforfunctionoptions.polling"},next:{title:"GeolocationOptions",permalink:"/api/puppeteer.geolocationoptions"}},c={},l=[{value:"Signature:",id:"signature",level:4}],s={toc:l};function f(e){var{components:t}=e,r=i(e,["components"]);return(0,n.kt)("wrapper",o({},s,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",o({},{id:"framewaitforfunctionoptionstimeout-property"}),"FrameWaitForFunctionOptions.timeout property"),(0,n.kt)("p",null,"Maximum time to wait in milliseconds. Defaults to ",(0,n.kt)("inlineCode",{parentName:"p"},"30000")," (30 seconds). Pass ",(0,n.kt)("inlineCode",{parentName:"p"},"0")," to disable the timeout. Puppeteer's default timeout can be changed using ",(0,n.kt)("a",o({parentName:"p"},{href:"/api/puppeteer.page.setdefaulttimeout"}),"Page.setDefaultTimeout()"),"."),(0,n.kt)("h4",o({},{id:"signature"}),"Signature:"),(0,n.kt)("pre",null,(0,n.kt)("code",o({parentName:"pre"},{className:"language-typescript"}),"interface FrameWaitForFunctionOptions {\n timeout?: number;\n}\n")))}f.isMDXComponent=!0}}]);