puppeteer/new-docs/puppeteer.protocol.emulation.setemulatedmediarequest.md

20 lines
884 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; [Protocol](./puppeteer.protocol.md) &gt; [Emulation](./puppeteer.protocol.emulation.md) &gt; [SetEmulatedMediaRequest](./puppeteer.protocol.emulation.setemulatedmediarequest.md)
## Protocol.Emulation.SetEmulatedMediaRequest interface
<b>Signature:</b>
```typescript
export interface SetEmulatedMediaRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [features](./puppeteer.protocol.emulation.setemulatedmediarequest.features.md) | [MediaFeature](./puppeteer.protocol.emulation.mediafeature.md)<!-- -->\[\] | Media features to emulate. |
| [media](./puppeteer.protocol.emulation.setemulatedmediarequest.media.md) | string | Media type to emulate. Empty string disables the override. |