mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
62ac167339
* roll Chromium to version 86, r800071 * roll Chrome DevTools protocol version to 0.0.799653 * fix HTTPRequest.continue after * CDP: accept post data in the binary form in Fetch.continueRequest. https://chromium-review.googlesource.com/c/chromium/src/+/2315239 * update new-docs
62 lines
4.2 KiB
Markdown
62 lines
4.2 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Emulation](./puppeteer.protocol.emulation.md)
|
|
|
|
## Protocol.Emulation namespace
|
|
|
|
This domain emulates different environments for the page.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export namespace Emulation
|
|
```
|
|
|
|
## Enumerations
|
|
|
|
| Enumeration | Description |
|
|
| --- | --- |
|
|
| [DisplayFeatureOrientation](./puppeteer.protocol.emulation.displayfeatureorientation.md) | |
|
|
| [ScreenOrientationType](./puppeteer.protocol.emulation.screenorientationtype.md) | |
|
|
| [SetEmitTouchEventsForMouseRequestConfiguration](./puppeteer.protocol.emulation.setemittoucheventsformouserequestconfiguration.md) | |
|
|
| [SetEmulatedVisionDeficiencyRequestType](./puppeteer.protocol.emulation.setemulatedvisiondeficiencyrequesttype.md) | |
|
|
|
|
## Interfaces
|
|
|
|
| Interface | Description |
|
|
| --- | --- |
|
|
| [CanEmulateResponse](./puppeteer.protocol.emulation.canemulateresponse.md) | |
|
|
| [DisplayFeature](./puppeteer.protocol.emulation.displayfeature.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) | |
|
|
| [SetIdleOverrideRequest](./puppeteer.protocol.emulation.setidleoverriderequest.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. |
|
|
|