"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[74573],{3905:(e,r,t)=>{t.d(r,{Zo:()=>c,kt:()=>f});var n=t(67294);function o(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function a(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function i(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}var s=n.createContext({}),u=function(e){var r=n.useContext(s),t=r;return e&&(t="function"==typeof e?e(r):i(i({},r),e)),t},c=function(e){var r=u(e.components);return n.createElement(s.Provider,{value:r},e.children)},l={inlineCode:"code",wrapper:function(e){var r=e.children;return n.createElement(n.Fragment,{},r)}},m=n.forwardRef((function(e,r){var t=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,c=p(e,["components","mdxType","originalType","parentName"]),m=u(t),f=o,d=m["".concat(s,".").concat(f)]||m[f]||l[f]||a;return t?n.createElement(d,i(i({ref:r},c),{},{components:t})):n.createElement(d,i({ref:r},c))}));function f(e,r){var t=arguments,o=r&&r.mdxType;if("string"==typeof e||o){var a=t.length,i=new Array(a);i[0]=m;var p={};for(var s in r)hasOwnProperty.call(r,s)&&(p[s]=r[s]);p.originalType=e,p.mdxType="string"==typeof e?e:o,i[1]=p;for(var u=2;u{t.r(r),t.d(r,{assets:()=>u,contentTitle:()=>p,default:()=>m,frontMatter:()=>i,metadata:()=>s,toc:()=>c});t(67294);var n=t(3905);function o(){return o=Object.assign||function(e){for(var r=1;r=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}const i={sidebar_label:"BrowserLaunchArgumentOptions.userDataDir"},p="BrowserLaunchArgumentOptions.userDataDir property",s={unversionedId:"api/puppeteer.browserlaunchargumentoptions.userdatadir",id:"version-19.1.0/api/puppeteer.browserlaunchargumentoptions.userdatadir",title:"BrowserLaunchArgumentOptions.userDataDir property",description:"Path to a user data directory. see the Chromium docs for more info.",source:"@site/versioned_docs/version-19.1.0/api/puppeteer.browserlaunchargumentoptions.userdatadir.md",sourceDirName:"api",slug:"/api/puppeteer.browserlaunchargumentoptions.userdatadir",permalink:"/api/puppeteer.browserlaunchargumentoptions.userdatadir",draft:!1,tags:[],version:"19.1.0",frontMatter:{sidebar_label:"BrowserLaunchArgumentOptions.userDataDir"},sidebar:"sidebar",previous:{title:"BrowserLaunchArgumentOptions.headless",permalink:"/api/puppeteer.browserlaunchargumentoptions.headless"},next:{title:"CDPSessionOnMessageObject",permalink:"/api/puppeteer.cdpsessiononmessageobject"}},u={},c=[],l={toc:c};function m(e){var{components:r}=e,t=a(e,["components"]);return(0,n.kt)("wrapper",o({},l,t,{components:r,mdxType:"MDXLayout"}),(0,n.kt)("h1",o({},{id:"browserlaunchargumentoptionsuserdatadir-property"}),"BrowserLaunchArgumentOptions.userDataDir property"),(0,n.kt)("p",null,"Path to a user data directory. ",(0,n.kt)("a",o({parentName:"p"},{href:"https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/user_data_dir.md"}),"see the Chromium docs")," for more info."),(0,n.kt)("p",null,(0,n.kt)("strong",{parentName:"p"},"Signature:")),(0,n.kt)("pre",null,(0,n.kt)("code",o({parentName:"pre"},{className:"language-typescript"}),"interface BrowserLaunchArgumentOptions {\n userDataDir?: string;\n}\n")))}m.isMDXComponent=!0}}]);