"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[1594],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>d});var p=r(67294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);t&&(p=p.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,p)}return r}function a(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(p=0;p=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var c=p.createContext({}),u=function(e){var t=p.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},l=function(e){var t=u(e.components);return p.createElement(c.Provider,{value:t},e.children)},s={inlineCode:"code",wrapper:function(e){var t=e.children;return p.createElement(p.Fragment,{},t)}},m=p.forwardRef((function(e,t){var r=e.components,n=e.mdxType,o=e.originalType,c=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),m=u(r),d=n,f=m["".concat(c,".").concat(d)]||m[d]||s[d]||o;return r?p.createElement(f,a(a({ref:t},l),{},{components:r})):p.createElement(f,a({ref:t},l))}));function d(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=r.length,a=new Array(o);a[0]=m;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i.mdxType="string"==typeof e?e:n,a[1]=i;for(var u=2;u{r.r(t),r.d(t,{assets:()=>c,contentTitle:()=>a,default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>u});var p=r(87462),n=(r(67294),r(3905));const o={},a="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:"/api/puppeteer.puppeteer.devices",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"Puppeteer.customQueryHandlerNames() method",permalink:"/api/puppeteer.puppeteer.customqueryhandlernames"},next:{title:"Puppeteer.errors property",permalink:"/api/puppeteer.puppeteer.errors"}},c={},u=[{value:"Example",id:"example",level:2}],l={toc:u};function s(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)("b",null,"Signature:"),(0,n.kt)("pre",null,(0,n.kt)("code",{parentName:"pre",className:"language-typescript"},"get devices(): typeof devices;\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}}]);