mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
26 lines
560 B
Markdown
26 lines
560 B
Markdown
|
---
|
||
|
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<void>
|