24 lines
541 B
Markdown
24 lines
541 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Page](./puppeteer.page.md) > [setContent](./puppeteer.page.setcontent.md)
|
|
|
|
## Page.setContent() method
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
setContent(html: string, options?: WaitForOptions): Promise<void>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| html | string | |
|
|
| options | WaitForOptions | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<void>
|
|
|