<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [BrowserLaunchArgumentOptions](./puppeteer.browserlaunchargumentoptions.md) &gt; [userDataDir](./puppeteer.browserlaunchargumentoptions.userdatadir.md)

## BrowserLaunchArgumentOptions.userDataDir property

Path to a user data directory. [see the Chromium docs](https://chromium.googlesource.com/chromium/src/+/master/docs/user_data_dir.md) for more info.

<b>Signature:</b>

```typescript
userDataDir?: string;
```
