"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1594],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>m});varp=r(67294);functionn(e,t,r){returntine?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}functiona(e,t){varr=Object.keys(e);if(Object.getOwnPropertySymbols){varp=Object.getOwnPropertySymbols(e);t&&(p=p.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,p)}returnr}functiono(e){for(vart=1;t<arguments.length;t++){varr=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}returne}functioni(e,t){if(null==e)return{};varr,p,n=function(e,t){if(null==e)return{};varr,p,n={},a=Object.keys(e);for(p=0;p<a.length;p++)r=a[p],t.indexOf(r)>=0||(n[r]=e[r]);returnn}(e,t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(p=0;p<a.length;p++)r=a[p],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}returnn}varc=p.createContext({}),u=function(e){vart=p.useContext(c),r=t;returne&&(r="function"==typeofe?e(t):o(o({},t),e)),r},l=function(e){vart=u(e.components);returnp.createElement(c.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){vart=e.children;returnp.createElement(p.Fragment,{},t)}},d=p.forwardRef((function(e,t){varr=e.components,n=e.mdxType,a=e.originalType,c=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),d=u(r),m=n,f=d["".concat(c,".").concat(m)]||d[m]||s[m]||a;returnr?p.createElement(f,o(o({ref:t},l),{},{components:r})):p.createElement(f,o({ref:t},l))}));functionm(e,t){varr=arguments,n=t&&t.mdxType;if("string"==typeofe||n){vara=r.length,o=newArray(a);o[0]=d;vari={};for(varcint)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i.mdxType="string"==typeofe?e:n,o[1]=i;for(varu=2;u<a;u++)o[u]=r[u];returnp.createElement.apply(null,o)}returnp.createElement.apply(null,r)}d.displayName="MDXCreateElement"},528:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>o,default:()=>s,frontMatter:()=>a,metadata:()=>i,toc:()=>u});varp=r(87462),n=(r(67294),r(3905));consta={sidebar_label:"Puppeteer.devices"},o="Puppeteer.devices property",i={unversionedId:"api/puppeteer.puppeteer.devices",id:"api/puppeteer.puppeteer.devices",title:"Puppeteer.devices property",description:"Warning: This API is now obsolete.",source:"@site/../docs/api/puppeteer.puppeteer.devices.md",sourceDirName:"api",slug:"/api/puppeteer.puppeteer.devices",permalink:"/next/api/puppeteer.puppeteer.devices",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"Puppeteer.devices"},sidebar:"sidebar",previous:{title:"Puppeteer.customQueryHandlerNames",permalink:"/next/api/puppeteer.puppeteer.customqueryhandlernames"},next:{title:"Puppeteer.errors",permalink:"/next/api/puppeteer.puppeteer.errors"}},c={},u=[{value:"Example",id:"example",level:2}],l={toc:u};functions(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,p.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"puppeteerdevices-property"},"Puppeteer.devices property"),(0,n.kt)("blockquote",null,(0,n.kt)("p",{parentName:"blockquote"},"Warning: This API is now obsolete."),(0,n.kt)("p",{parentName:"blockquote"},"Import directly puppeteer.")),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"Signature:")),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-typescript"},"class Puppeteer {\n get devices(): typeof devices;\n}\n")),(0,n.kt)("h2",{id:"example"},"Example"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-ts"},"import {devices} from 'puppeteer';\n")))}s.isMDXComponent=!0}}]);