"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[93912],{3905:(n,e,t)=>{t.d(e,{Zo:()=>c,kt:()=>d});varr=t(67294);functiona(n,e,t){returneinn?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}functiono(n,e){vart=Object.keys(n);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(n);e&&(r=r.filter((function(e){returnObject.getOwnPropertyDescriptor(n,e).enumerable}))),t.push.apply(t,r)}returnt}functionp(n){for(vare=1;e<arguments.length;e++){vart=null!=arguments[e]?arguments[e]:{};e%2?o(Object(t),!0).forEach((function(e){a(n,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}))}returnn}functioni(n,e){if(null==n)return{};vart,r,a=function(n,e){if(null==n)return{};vart,r,a={},o=Object.keys(n);for(r=0;r<o.length;r++)t=o[r],e.indexOf(t)>=0||(a[t]=n[t]);returna}(n,e);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(n);for(r=0;r<o.length;r++)t=o[r],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(a[t]=n[t])}returna}varu=r.createContext({}),l=function(n){vare=r.useContext(u),t=e;returnn&&(t="function"==typeofn?n(e):p(p({},e),n)),t},c=function(n){vare=l(n.components);returnr.createElement(u.Provider,{value:e},n.children)},s={inlineCode:"code",wrapper:function(n){vare=n.children;returnr.createElement(r.Fragment,{},e)}},y=r.forwardRef((function(n,e){vart=n.components,a=n.mdxType,o=n.originalType,u=n.parentName,c=i(n,["components","mdxType","originalType","parentName"]),y=l(t),d=a,f=y["".concat(u,".").concat(d)]||y[d]||s[d]||o;returnt?r.createElement(f,p(p({ref:e},c),{},{components:t})):r.createElement(f,p({ref:e},c))}));functiond(n,e){vart=arguments,a=e&&e.mdxType;if("string"==typeofn||a){varo=t.length,p=newArray(o);p[0]=y;vari={};for(varuine)hasOwnProperty.call(e,u)&&(i[u]=e[u]);i.originalType=n,i.mdxType="string"==typeofn?n:a,p[1]=i;for(varl=2;l<o;l++)p[l]=t[l];returnr.createElement.apply(null,p)}returnr.createElement.apply(null,t)}y.displayName="MDXCreateElement"},18986:(n,e,t)=>{t.r(e),t.d(e,{assets:()=>l,contentTitle:()=>i,default:()=>y,frontMatter:()=>p,metadata:()=>u,toc:()=>c});t(67294);varr=t(3905);functiona(){returna=Object.assign||function(n){for(vare=1;e<arguments.length;e++){vart=arguments[e];for(varrint)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}returnn},a.apply(this,arguments)}functiono(n,e){if(null==n)return{};vart,r,a=function(n,e){if(null==n)return{};vart,r,a={},o=Object.keys(n);for(r=0;r<o.length;r++)t=o[r],e.indexOf(t)>=0||(a[t]=n[t]);returna}(n,e);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(n);for(r=0;r<o.length;r++)t=o[r],e.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(a[t]=n[t])}returna}constp={sidebar_label:"KeyInput"},i="KeyInput type",u={unversionedId:"api/puppeteer.keyinput",id:"version-21.3.1/api/puppeteer.keyinput",title:"KeyInput type",description:"All the valid keys that can be passed to functions that take user input, such as keyboard.press",source:"@site/versioned_docs/version-21.3.1/api/puppeteer.keyinput.md",sourceDirName:"api",slug:"/api/puppeteer.keyinput",permalink:"/api/puppeteer.keyinput",draft:!1,tags:[],version:"21.3.1",frontMatter:{sidebar_label:"KeyInput"},sidebar:"api",previous:{title:"KeyDownOptions",permalink:"/api/puppeteer.keydownoptions"},next:{title:"KeyPressOptions",permalink:"/api/puppeteer.keypressoptions"}},l={},c=[{value:"Signature:",id:"signature",level:4}],s={toc:c};functiony(n){var{components:e}=n,t=o(n,["components"]);return(0,r.kt)("wrapper",a({},s,t,{components:e,mdxType:"MDXLayout"}),(0,r.kt)("h1",a({},{id:"keyinput-type"}),"KeyInput type"),(0,r.kt)("p",null,"All the valid keys that can be passed to functions that take user input, such as ",(0,r.kt)("a",a({parentName:"p"},{href:"/api/puppeteer.keyboard.press"}),"keyboard.press")),(0,r.kt)("h4",a({},{id:"signature"}),"Signature:"),(0,r.kt)("pre",n