|
|
|
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[21480],{95484:(e,n,a)=>{a.r(n),a.d(n,{assets:()=>c,contentTitle:()=>l,default:()=>t,frontMatter:()=>s,metadata:()=>r,toc:()=>p});var i=a(85893),o=a(11151);const s={sidebar_label:"devices"},l="devices variable",r={id:"api/puppeteer.devices",title:"devices variable",description:"Warning: This API is now obsolete.",source:"@site/versioned_docs/version-21.6.0/api/puppeteer.devices.md",sourceDirName:"api",slug:"/api/puppeteer.devices",permalink:"/api/puppeteer.devices",draft:!1,unlisted:!1,tags:[],version:"21.6.0",frontMatter:{sidebar_label:"devices"},sidebar:"api",previous:{title:"DeviceRequestPromptDevice",permalink:"/api/puppeteer.devicerequestpromptdevice"},next:{title:"ElementFor",permalink:"/api/puppeteer.elementfor"}},c={},p=[{value:"Signature:",id:"signature",level:4}];function d(e){const n={a:"a",blockquote:"blockquote",code:"code",h1:"h1",h4:"h4",p:"p",pre:"pre",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"devices-variable",children:"devices variable"}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsx)(n.p,{children:"Warning: This API is now obsolete."}),"\n",(0,i.jsxs)(n.p,{children:["Import ",(0,i.jsx)(n.a,{href:"/api/puppeteer.knowndevices",children:"KnownDevices"})]}),"\n"]}),"\n",(0,i.jsx)(n.h4,{id:"signature",children:"Signature:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typescript",children:"devices: Readonly<\n Record<\n | 'Blackberry PlayBook'\n | 'Blackberry PlayBook landscape'\n | 'BlackBerry Z30'\n | 'BlackBerry Z30 landscape'\n | 'Galaxy Note 3'\n | 'Galaxy Note 3 landscape'\n | 'Galaxy Note II'\n | 'Galaxy Note II landscape'\n | 'Galaxy S III'\n | 'Galaxy S III landscape'\n | 'Galaxy S5'\n | 'Galaxy S5 landscape'\n | 'Galaxy S8'\n | 'Galaxy S8 landscape'\n | 'Galaxy S9+'\n | 'Galaxy S9+ landscape'\n | 'Galaxy Tab S4'\n | 'Galaxy Tab S4 landscape'\n | 'iPad'\n | 'iPad landscape'\n | 'iPad (gen 6)'\n | 'iPad (gen 6) landscape'\n | 'iPad (gen 7)'\n | 'iPad (gen 7) landscape'\n | 'iPad Mini'\n | 'iPad Mini landscape'\n | 'iPad Pro'\n | 'iPad Pro landscape'\n | 'iPad Pro 11'\n | 'iPad Pro 11 landscape'\n | 'iPhone 4'\n | 'iPhone 4 landscape'\n | 'iPhone 5'\n | 'iPhone 5 landscape'\n | 'iPhone 6'\n | 'iPhone 6 landscape'\n | 'iPhone 6 Plus'\n | 'iPhone 6 Plus landscape'\n | 'iPhone 7'\n | 'iPhone 7 landscape'\n | 'iPhone 7 Plus'\n | 'iPhone 7 Plus landscape'\n | 'iPhone 8'\n | 'iPhone 8 landscape'\n | 'iPhone 8 Plus'\n | 'iPhone 8 Plus landscape'\n | 'iPhone SE'\n | 'iPhone SE landscape'\n | 'iPhone X'\n | 'iPhone X landscape'\n | 'iPhone XR'\n | 'iPhone XR landscape'\n | 'iPhone 11'\n | 'iPhone 11 landscape'\n | 'iPhone 11 Pro'\n | 'iPhone 11 Pro landscape'\n | 'iPhone 11 Pro Max'\n | 'iPhone 11 Pro Max landscape'\n | 'iPhone 12'\n | 'iPhone 12 landscape'\n | 'iPhone 12 Pro'\n | 'iPhone 12 Pro landscape'\n | 'iPhone 12 Pro Max'\n | 'iPhone 12 Pro Max landscape'\n | 'iPhone 12 Mini'\n | 'iPhone 12 Mini landscape'\n | 'iPhone 13'\n | 'iPhone 13 landscape'\n | 'iPhone 13 Pro'\n | 'iPhone 13 Pro landscape'\n | 'iPhone 13 Pro Max'\n | 'iPhone 13 Pro Max landscape'\n | 'iPhone 13 Mini'\n | 'iPhone 13 Mini landscape'\n | 'JioPhone 2'\n | 'JioPhone 2 landscape'\n | 'Kindle Fire HDX'\n | 'Kindle Fire HDX landscape'\n | 'LG Optimus L70'\n | 'LG Optimus L70 landscape'\n | 'Microsoft Lumia 550'\n | 'Microsoft Lumia 950'\n | 'Microsoft Lumia 950 landscape'\n | 'Nexus 10'\n | 'Nexus 10 landscape'\n | 'Nexus 4'\n | 'Nexus 4 landscape'\n | 'Nexus 5'\n | 'Nexus 5 landscape'\n | 'Nexus 5X'\n | 'Nexus 5X landscape'\n | 'Nexus 6'\n | 'Nexus 6 landscape'\n | 'Nexus 6P'\n | 'Nexus 6P landscape'\n | 'Nexus 7'\n | 'Nexus 7 landscape'\n | 'Nokia Lumia 520'\n | 'Nokia Lumia 520 landscape
|