puppeteer/docs/browsers-api/browsers.createprofile.md

57 lines
553 B
Markdown
Raw Normal View History

---
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&lt;void&gt;