"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[44095],{3905:(e,r,t)=>{t.d(r,{Zo:()=>s,kt:()=>m});varn=t(67294);functiono(e,r,t){returnrine?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}functioni(e,r){vart=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){returnObject.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}returnt}functiona(e){for(varr=1;r<arguments.length;r++){vart=null!=arguments[r]?arguments[r]:{};r%2?i(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}returne}functionl(e,r){if(null==e)return{};vart,n,o=function(e,r){if(null==e)return{};vart,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);returno}(e,r);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}returno}varc=n.createContext({}),p=function(e){varr=n.useContext(c),t=r;returne&&(t="function"==typeofe?e(r):a(a({},r),e)),t},s=function(e){varr=p(e.components);returnn.createElement(c.Provider,{value:r},e.children)},u={inlineCode:"code",wrapper:function(e){varr=e.children;returnn.createElement(n.Fragment,{},r)}},f=n.forwardRef((function(e,r){vart=e.components,o=e.mdxType,i=e.originalType,c=e.parentName,s=l(e,["components","mdxType","originalType","parentName"]),f=p(t),m=o,y=f["".concat(c,".").concat(m)]||f[m]||u[m]||i;returnt?n.createElement(y,a(a({ref:r},s),{},{components:t})):n.createElement(y,a({ref:r},s))}));functionm(e,r){vart=arguments,o=r&&r.mdxType;if("string"==typeofe||o){vari=t.length,a=newArray(i);a[0]=f;varl={};for(varcinr)hasOwnProperty.call(r,c)&&(l[c]=r[c]);l.originalType=e,l.mdxType="string"==typeofe?e:o,a[1]=l;for(varp=2;p<i;p++)a[p]=t[p];returnn.createElement.apply(null,a)}returnn.createElement.apply(null,t)}f.displayName="MDXCreateElement"},95799:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>p,contentTitle:()=>l,default:()=>f,frontMatter:()=>a,metadata:()=>c,toc:()=>s});t(67294);varn=t(3905);functiono(){returno=Object.assign||function(e){for(varr=1;r<arguments.length;r++){vart=arguments[r];for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}returne},o.apply(this,arguments)}functioni(e,r){if(null==e)return{};vart,n,o=function(e,r){if(null==e)return{};vart,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||(o[t]=e[t]);returno}(e,r);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)t=i[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}returno}consta={sidebar_label:"FileChooser.cancel"},l="FileChooser.cancel() method",c={unversionedId:"api/puppeteer.filechooser.cancel",id:"version-21.5.1/api/puppeteer.filechooser.cancel",title:"FileChooser.cancel() method",description:"Closes the file chooser without selecting any files.",source:"@site/versioned_docs/version-21.5.1/api/puppeteer.filechooser.cancel.md",sourceDirName:"api",slug:"/api/puppeteer.filechooser.cancel",permalink:"/api/puppeteer.filechooser.cancel",draft:!1,tags:[],version:"21.5.1",frontMatter:{sidebar_label:"FileChooser.cancel"},sidebar:"api",previous:{title:"FileChooser.accept",permalink:"/api/puppeteer.filechooser.accept"},next:{title:"FileChooser.isMultiple",permalink:"/api/puppeteer.filechooser.ismultiple"}},p={},s=[{value:"Signature:",id:"signature",level:4}],u={toc:s};functionf(e){var{components:r}=e,t=i(e,["components"]);return(0,n.kt)("wrapper",o({},u,t,{components:r,mdxType:"MDXLayout"}),(0,n.kt)("h1",o({},{id:"filechoosercancel-method"}),"FileChooser.cancel() method"),(0,n.kt)("p",null,"Closes the file chooser without selecting any files."),(0,n.kt)("h4",o({},{id:"signature"}),"Signature:"),(0,n.kt)("pre",null,(0,n.kt)("cod