"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2857],{3905:(e,n,a)=>{a.d(n,{Zo:()=>c,kt:()=>P});varr=a(67294);functiont(e,n,a){returnnine?Object.defineProperty(e,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[n]=a,e}functioni(e,n){vara=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){returnObject.getOwnPropertyDescriptor(e,n).enumerable}))),a.push.apply(a,r)}returna}functiono(e){for(varn=1;n<arguments.length;n++){vara=null!=arguments[n]?arguments[n]:{};n%2?i(Object(a),!0).forEach((function(n){t(e,n,a[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(a,n))}))}returne}functionl(e,n){if(null==e)return{};vara,r,t=function(e,n){if(null==e)return{};vara,r,t={},i=Object.keys(e);for(r=0;r<i.length;r++)a=i[r],n.indexOf(a)>=0||(t[a]=e[a]);returnt}(e,n);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)a=i[r],n.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}returnt}varp=r.createContext({}),s=function(e){varn=r.useContext(p),a=n;returne&&(a="function"==typeofe?e(n):o(o({},n),e)),a},c=function(e){varn=s(e.components);returnr.createElement(p.Provider,{value:n},e.children)},u={inlineCode:"code",wrapper:function(e){varn=e.children;returnr.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){vara=e.components,t=e.mdxType,i=e.originalType,p=e.parentName,c=l(e,["components","mdxType","originalType","parentName"]),d=s(a),P=t,h=d["".concat(p,".").concat(P)]||d[P]||u[P]||i;returna?r.createElement(h,o(o({ref:n},c),{},{components:a})):r.createElement(h,o({ref:n},c))}));functionP(e,n){vara=arguments,t=n&&n.mdxType;if("string"==typeofe||t){vari=a.length,o=newArray(i);o[0]=d;varl={};for(varpinn)hasOwnProperty.call(n,p)&&(l[p]=n[p]);l.originalType=e,l.mdxType="string"==typeofe?e:t,o[1]=l;for(vars=2;s<i;s++)o[s]=a[s];returnr.createElement.apply(null,o)}returnr.createElement.apply(null,a)}d.displayName="MDXCreateElement"},1944:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>s,contentTitle:()=>l,default:()=>d,frontMatter:()=>o,metadata:()=>p,toc:()=>c});a(67294);varr=a(3905);functiont(){returnt=Object.assign||function(e){for(varn=1;n<arguments.length;n++){vara=arguments[n];for(varrina)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}returne},t.apply(this,arguments)}functioni(e,n){if(null==e)return{};vara,r,t=function(e,n){if(null==e)return{};vara,r,t={},i=Object.keys(e);for(r=0;r<i.length;r++)a=i[r],n.indexOf(a)>=0||(t[a]=e[a]);returnt}(e,n);if(Object.getOwnPropertySymbols){vari=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)a=i[r],n.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}returnt}consto={sidebar_label:"KnownDevices"},l="KnownDevices variable",p={unversionedId:"api/puppeteer.knowndevices",id:"version-19.4.0/api/puppeteer.knowndevices",title:"KnownDevices variable",description:"A list of devices to be used with Page.emulate().",source:"@site/versioned_docs/version-19.4.0/api/puppeteer.knowndevices.md",sourceDirName:"api",slug:"/api/puppeteer.knowndevices",permalink:"/api/puppeteer.knowndevices",draft:!1,tags:[],version:"19.4.0",frontMatter:{sidebar_label:"KnownDevices"},sidebar:"api",previous:{title:"KeyInput",permalink:"/api/puppeteer.keyinput"},next:{title:"launch",permalink:"/api/puppeteer.launch"}},s={},c=[{value:"Signature:",id:"signature",level:4},{value:"Example",id:"example",level:2}],u={toc:c};functiond(e){var{components:n}=e,a=i(e,["components"]);return(0,r.kt)("wrapper",t({},u,a,{components:n,mdxType:"MDXLayout"}),(0,r.kt)("h1",t({},{id:"knowndevices-variable"}),"KnownDevices variable"),(0,r.kt)("p",null,"A list of devices to be used with ",(0,r.kt)("a",t({parentName:"p"},{href:"/api/puppeteer.page.emulate"}),"Page.emulate()"),"."),(0,r.kt)("h4",t({},{id:"signature"}),"Signature:"),(0,r.kt)("pre",null,(0,r.kt)("code",t({p