puppeteer/new-docs/puppeteer.page.emulatemediatype.md

23 lines
506 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Page](./puppeteer.page.md) &gt; [emulateMediaType](./puppeteer.page.emulatemediatype.md)
## Page.emulateMediaType() method
<b>Signature:</b>
```typescript
emulateMediaType(type?: string): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| type | string | |
<b>Returns:</b>
Promise&lt;void&gt;