"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[80861],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>m});varn=r(67294);functioni(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functiono(e,t){varr=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}returnr}functiona(e){for(vart=1;t<arguments.length;t++){varr=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){i(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}returne}functions(e,t){if(null==e)return{};varr,n,i=function(e,t){if(null==e)return{};varr,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);returni}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}returni}varl=n.createContext({}),p=function(e){vart=n.useContext(l),r=t;returne&&(r="function"==typeofe?e(t):a(a({},t),e)),r},c=function(e){vart=p(e.components);returnn.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){vart=e.children;returnn.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){varr=e.components,i=e.mdxType,o=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),d=p(r),m=i,f=d["".concat(l,".").concat(m)]||d[m]||u[m]||o;returnr?n.createElement(f,a(a({ref:t},c),{},{components:r})):n.createElement(f,a({ref:t},c))}));functionm(e,t){varr=arguments,i=t&&t.mdxType;if("string"==typeofe||i){varo=r.length,a=newArray(o);a[0]=d;vars={};for(varlint)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeofe?e:i,a[1]=s;for(varp=2;p<o;p++)a[p]=r[p];returnn.createElement.apply(null,a)}returnn.createElement.apply(null,r)}d.displayName="MDXCreateElement"},11136:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>s,default:()=>d,frontMatter:()=>a,metadata:()=>l,toc:()=>c});r(67294);varn=r(3905);functioni(){returni=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varr=arguments[t];for(varninr)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}returne},i.apply(this,arguments)}functiono(e,t){if(null==e)return{};varr,n,i=function(e,t){if(null==e)return{};varr,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);returni}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}returni}consta={sidebar_label:"Dialog.dismiss"},s="Dialog.dismiss() method",l={unversionedId:"api/puppeteer.dialog.dismiss",id:"version-20.9.0/api/puppeteer.dialog.dismiss",title:"Dialog.dismiss() method",description:"A promise which will resolve once the dialog has been dismissed",source:"@site/versioned_docs/version-20.9.0/api/puppeteer.dialog.dismiss.md",sourceDirName:"api",slug:"/api/puppeteer.dialog.dismiss",permalink:"/api/puppeteer.dialog.dismiss",draft:!1,tags:[],version:"20.9.0",frontMatter:{sidebar_label:"Dialog.dismiss"},sidebar:"api",previous:{title:"Dialog.defaultValue",permalink:"/api/puppeteer.dialog.defaultvalue"},next:{title:"Dialog.message",permalink:"/api/puppeteer.dialog.message"}},p={},c=[{value:"Signature:",id:"signature",level:4}],u={toc:c};functiond(e){var{components:t}=e,r=o(e,["components"]);return(0,n.kt)("wrapper",i({},u,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",i({},{id:"dialogdismiss-method"}),"Dialog.dismiss() method"),(0,n.kt)("p",null,"A promise which will resolve once the dialog has been dismissed"),(0,n.kt)("h4",i({},{id:"signature"}),"Signature:"),(0,n.kt)("pre",null,(0,n.kt)("code",i({parentName:"pre"},{className:"