puppeteer/new-docs/puppeteer.protocol.emulation.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02:00

4.0 KiB

Home > puppeteer > Protocol > Emulation

Protocol.Emulation namespace

This domain emulates different environments for the page.

Signature:

export namespace Emulation 

Enumerations

Enumeration Description
ScreenOrientationType
SetEmitTouchEventsForMouseRequestConfiguration
SetEmulatedVisionDeficiencyRequestType

Interfaces

Interface Description
CanEmulateResponse
MediaFeature
ScreenOrientation Screen orientation.
SetCPUThrottlingRateRequest
SetDefaultBackgroundColorOverrideRequest
SetDeviceMetricsOverrideRequest
SetDocumentCookieDisabledRequest
SetEmitTouchEventsForMouseRequest
SetEmulatedMediaRequest
SetEmulatedVisionDeficiencyRequest
SetFocusEmulationEnabledRequest
SetGeolocationOverrideRequest
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.