puppeteer/website/versioned_docs/version-20.2.1/browsers-api/browsers.createprofile.md

26 lines
560 B
Markdown
Raw Normal View History

---
sidebar_label: createProfile
---
# createProfile() function
#### Signature:
```typescript
export declare function createProfile(
browser: Browser,
opts: ProfileOptions
): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --------- | ---------------------------------------------- | ----------- |
| browser | [Browser](./browsers.browser.md) | |
| opts | [ProfileOptions](./browsers.profileoptions.md) | |
**Returns:**
Promise&lt;void&gt;