Skip to content

Latest commit

 

History

History
61 lines (49 loc) · 4.23 KB

puppeteer.protocol.emulation.md

File metadata and controls

61 lines (49 loc) · 4.23 KB

Home > puppeteer > Protocol > Emulation

Protocol.Emulation namespace

This domain emulates different environments for the page.

Signature:

export namespace Emulation 

Enumerations

Enumeration Description
DisplayFeatureOrientation
ScreenOrientationType
SetEmitTouchEventsForMouseRequestConfiguration
SetEmulatedVisionDeficiencyRequestType

Interfaces

Interface Description
CanEmulateResponse
DisplayFeature
MediaFeature
ScreenOrientation Screen orientation.
SetCPUThrottlingRateRequest
SetDefaultBackgroundColorOverrideRequest
SetDeviceMetricsOverrideRequest
SetDocumentCookieDisabledRequest
SetEmitTouchEventsForMouseRequest
SetEmulatedMediaRequest
SetEmulatedVisionDeficiencyRequest
SetFocusEmulationEnabledRequest
SetGeolocationOverrideRequest
SetIdleOverrideRequest
SetLocaleOverrideRequest
SetNavigatorOverridesRequest
SetPageScaleFactorRequest
SetScriptExecutionDisabledRequest
SetScrollbarsHiddenRequest
SetTimezoneOverrideRequest
SetTouchEmulationEnabledRequest
SetUserAgentOverrideRequest
SetVirtualTimePolicyRequest
SetVirtualTimePolicyResponse
SetVisibleSizeRequest
UserAgentBrandVersion Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints
UserAgentMetadata Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints

Type Aliases

Type Alias Description
VirtualTimePolicy 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.