mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
0ab119477a
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
57 lines
553 B
Markdown
57 lines
553 B
Markdown
---
|
|
sidebar_label: createProfile
|
|
---
|
|
|
|
# createProfile() function
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
export declare function createProfile(
|
|
browser: Browser,
|
|
opts: ProfileOptions
|
|
): Promise<void>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
<table><thead><tr><th>
|
|
|
|
Parameter
|
|
|
|
</th><th>
|
|
|
|
Type
|
|
|
|
</th><th>
|
|
|
|
Description
|
|
|
|
</th></tr></thead>
|
|
<tbody><tr><td>
|
|
|
|
browser
|
|
|
|
</td><td>
|
|
|
|
[Browser](./browsers.browser.md)
|
|
|
|
</td><td>
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
opts
|
|
|
|
</td><td>
|
|
|
|
[ProfileOptions](./browsers.profileoptions.md)
|
|
|
|
</td><td>
|
|
|
|
</td></tr>
|
|
</tbody></table>
|
|
**Returns:**
|
|
|
|
Promise<void>
|