"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[51400],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>d});varn=r(67294);functionp(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){varn=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}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){p(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,n,p=function(e,t){if(null==e)return{};varr,n,p={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(p[r]=e[r]);returnp}(e,t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(p[r]=e[r])}returnp}vars=n.createContext({}),l=function(e){vart=n.useContext(s),r=t;returne&&(r="function"==typeofe?e(t):o(o({},t),e)),r},c=function(e){vart=l(e.components);returnn.createElement(s.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){vart=e.children;returnn.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){varr=e.components,p=e.mdxType,a=e.originalType,s=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),f=l(r),d=p,m=f["".concat(s,".").concat(d)]||f[d]||u[d]||a;returnr?n.createElement(m,o(o({ref:t},c),{},{components:r})):n.createElement(m,o({ref:t},c))}));functiond(e,t){varr=arguments,p=t&&t.mdxType;if("string"==typeofe||p){vara=r.length,o=newArray(a);o[0]=f;vari={};for(varsint)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i.mdxType="string"==typeofe?e:p,o[1]=i;for(varl=2;l<a;l++)o[l]=r[l];returnn.createElement.apply(null,o)}returnn.createElement.apply(null,r)}f.displayName="MDXCreateElement"},16269:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>s,contentTitle:()=>o,default:()=>u,frontMatter:()=>a,metadata:()=>i,toc:()=>l});varn=r(87462),p=(r(67294),r(3905));consta={sidebar_label:"PDFOptions.path"},o="PDFOptions.path property",i={unversionedId:"api/puppeteer.pdfoptions.path",id:"api/puppeteer.pdfoptions.path",title:"PDFOptions.path property",description:"The path to save the file to.",source:"@site/../docs/api/puppeteer.pdfoptions.path.md",sourceDirName:"api",slug:"/api/puppeteer.pdfoptions.path",permalink:"/next/api/puppeteer.pdfoptions.path",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"PDFOptions.path"},sidebar:"sidebar",previous:{title:"PDFOptions.pageRanges",permalink:"/next/api/puppeteer.pdfoptions.pageranges"},next:{title:"PDFOptions.preferCSSPageSize",permalink:"/next/api/puppeteer.pdfoptions.prefercsspagesize"}},s={},l=[{value:"Remarks",id:"remarks",level:2}],c={toc:l};functionu(e){let{components:t,...r}=e;return(0,p.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,p.kt)("h1",{id:"pdfoptionspath-property"},"PDFOptions.path property"),(0,p.kt)("p",null,"The path to save the file to."),(0,p.kt)("p",null,(0,p.kt)("strong",{parentName:"p"},"Signature:")),(0,p.kt)("pre",null,(0,p.kt)("code",{parentName:"pre",className:"language-typescript"},"interface PDFOptions {\n path?: string;\n}\n")),(0,p.kt)("h2",{id:"remarks"},"Remarks"),(0,p.kt)("p",null,"If the path is relative, it's resolved relative to the current working directory."))}u.isMDXComponent=!0}}]);