"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[15103],{3905:(e,r,t)=>{t.d(r,{Zo:()=>u,kt:()=>v});varn=t(67294);functiono(e,r,t){returnrine?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}functiona(e,r){vart=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){returnObject.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}returnt}functioni(e){for(varr=1;r<arguments.length;r++){vart=null!=arguments[r]?arguments[r]:{};r%2?a(Object(t),!0).forEach((function(r){o(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}returne}functionp(e,r){if(null==e)return{};vart,n,o=function(e,r){if(null==e)return{};vart,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);returno}(e,r);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}returno}varc=n.createContext({}),l=function(e){varr=n.useContext(c),t=r;returne&&(t="function"==typeofe?e(r):i(i({},r),e)),t},u=function(e){varr=l(e.components);returnn.createElement(c.Provider,{value:r},e.children)},s={inlineCode:"code",wrapper:function(e){varr=e.children;returnn.createElement(n.Fragment,{},r)}},f=n.forwardRef((function(e,r){vart=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),f=l(t),v=o,d=f["".concat(c,".").concat(v)]||f[v]||s[v]||a;returnt?n.createElement(d,i(i({ref:r},u),{},{components:t})):n.createElement(d,i({ref:r},u))}));functionv(e,r){vart=arguments,o=r&&r.mdxType;if("string"==typeofe||o){vara=t.length,i=newArray(a);i[0]=f;varp={};for(varcinr)hasOwnProperty.call(r,c)&&(p[c]=r[c]);p.originalType=e,p.mdxType="string"==typeofe?e:o,i[1]=p;for(varl=2;l<a;l++)i[l]=t[l];returnn.createElement.apply(null,i)}returnn.createElement.apply(null,t)}f.displayName="MDXCreateElement"},85812:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>l,contentTitle:()=>p,default:()=>f,frontMatter:()=>i,metadata:()=>c,toc:()=>u});t(67294);varn=t(3905);functiono(){returno=Object.assign||function(e){for(varr=1;r<arguments.length;r++){vart=arguments[r];for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}returne},o.apply(this,arguments)}functiona(e,r){if(null==e)return{};vart,n,o=function(e,r){if(null==e)return{};vart,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||(o[t]=e[t]);returno}(e,r);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}returno}consti={sidebar_label:"Viewport.deviceScaleFactor"},p="Viewport.deviceScaleFactor property",c={unversionedId:"api/puppeteer.viewport.devicescalefactor",id:"version-19.0.0/api/puppeteer.viewport.devicescalefactor",title:"Viewport.deviceScaleFactor property",description:"Specify device scale factor. See devicePixelRatio for more info.",source:"@site/versioned_docs/version-19.0.0/api/puppeteer.viewport.devicescalefactor.md",sourceDirName:"api",slug:"/api/puppeteer.viewport.devicescalefactor",permalink:"/api/puppeteer.viewport.devicescalefactor",draft:!1,tags:[],version:"19.0.0",frontMatter:{sidebar_label:"Viewport.deviceScaleFactor"},sidebar:"sidebar",previous:{title:"Viewport",permalink:"/api/puppeteer.viewport"},next:{title:"Viewport.hasTouch",permalink:"/api/puppeteer.viewport.hastouch"}},l={},u=[],s={toc:u};functionf(e){var{components:r}=e,t=a(e,["components"]);return(0,n.kt)("wrapper",o({},s,t,{components:r,mdxType:"MDXLayout"}),(0,n.kt)("h1",o({},{id:"viewportdevicescalefactor-property"}),"Viewport.deviceScaleFactor property"),(0,n.kt)("p",null,"Specify device scale factor. See ",(0,n.kt)("a",o({parentName:"p"},{href:"https://developer.mozilla.org/en