puppeteer/new-docs/puppeteer.protocol.emulation.md
2020-07-13 14:01:35 +01:00

51 lines
3.6 KiB
Markdown

<!-- 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)
## Protocol.Emulation namespace
This domain emulates different environments for the page.
<b>Signature:</b>
```typescript
export namespace Emulation
```
## Interfaces
| Interface | Description |
| --- | --- |
| [CanEmulateResponse](./puppeteer.protocol.emulation.canemulateresponse.md) | |
| [MediaFeature](./puppeteer.protocol.emulation.mediafeature.md) | |
| [ScreenOrientation](./puppeteer.protocol.emulation.screenorientation.md) | Screen orientation. |
| [SetCPUThrottlingRateRequest](./puppeteer.protocol.emulation.setcputhrottlingraterequest.md) | |
| [SetDefaultBackgroundColorOverrideRequest](./puppeteer.protocol.emulation.setdefaultbackgroundcoloroverriderequest.md) | |
| [SetDeviceMetricsOverrideRequest](./puppeteer.protocol.emulation.setdevicemetricsoverriderequest.md) | |
| [SetDocumentCookieDisabledRequest](./puppeteer.protocol.emulation.setdocumentcookiedisabledrequest.md) | |
| [SetEmitTouchEventsForMouseRequest](./puppeteer.protocol.emulation.setemittoucheventsformouserequest.md) | |
| [SetEmulatedMediaRequest](./puppeteer.protocol.emulation.setemulatedmediarequest.md) | |
| [SetEmulatedVisionDeficiencyRequest](./puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequest.md) | |
| [SetFocusEmulationEnabledRequest](./puppeteer.protocol.emulation.setfocusemulationenabledrequest.md) | |
| [SetGeolocationOverrideRequest](./puppeteer.protocol.emulation.setgeolocationoverriderequest.md) | |
| [SetLocaleOverrideRequest](./puppeteer.protocol.emulation.setlocaleoverriderequest.md) | |
| [SetNavigatorOverridesRequest](./puppeteer.protocol.emulation.setnavigatoroverridesrequest.md) | |
| [SetPageScaleFactorRequest](./puppeteer.protocol.emulation.setpagescalefactorrequest.md) | |
| [SetScriptExecutionDisabledRequest](./puppeteer.protocol.emulation.setscriptexecutiondisabledrequest.md) | |
| [SetScrollbarsHiddenRequest](./puppeteer.protocol.emulation.setscrollbarshiddenrequest.md) | |
| [SetTimezoneOverrideRequest](./puppeteer.protocol.emulation.settimezoneoverriderequest.md) | |
| [SetTouchEmulationEnabledRequest](./puppeteer.protocol.emulation.settouchemulationenabledrequest.md) | |
| [SetUserAgentOverrideRequest](./puppeteer.protocol.emulation.setuseragentoverriderequest.md) | |
| [SetVirtualTimePolicyRequest](./puppeteer.protocol.emulation.setvirtualtimepolicyrequest.md) | |
| [SetVirtualTimePolicyResponse](./puppeteer.protocol.emulation.setvirtualtimepolicyresponse.md) | |
| [SetVisibleSizeRequest](./puppeteer.protocol.emulation.setvisiblesizerequest.md) | |
| [UserAgentBrandVersion](./puppeteer.protocol.emulation.useragentbrandversion.md) | Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints |
| [UserAgentMetadata](./puppeteer.protocol.emulation.useragentmetadata.md) | Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints |
## Type Aliases
| Type Alias | Description |
| --- | --- |
| [VirtualTimePolicy](./puppeteer.protocol.emulation.virtualtimepolicy.md) | advance: If the scheduler runs out of immediate work, the virtual time base may fast forward to allow the next delayed task (if any) to run; pause: The virtual time base may not advance; pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending resource fetches. |