class Page {emulateMediaType(type?: string): Promise<void>;}
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| type | string | <i>(Optional)</i> Changes the CSS media type of the page. The only allowed values are <code>screen</code>, <code>print</code> and <code>null</code>. Passing <code>null</code> disables CSS media emulation. |