Emulation

This domain emulates different environments for the page.

Common API Experimental API Not implemented

Chrome (CDP 1.2)

Edge 0.1

Edge 0.2 (preview)

Node (V8)

Safari iOS 10.0

canEmulate canEmulate
clearDeviceMetricsOverride clearDeviceMetricsOverride
clearGeolocationOverride clearGeolocationOverride
forceViewport forceViewport
resetPageScaleFactor resetPageScaleFactor
resetViewport resetViewport
setCPUThrottlingRate setCPUThrottlingRate
setDefaultBackgroundColorOverride setDefaultBackgroundColorOverride
setDeviceMetricsOverride setDeviceMetricsOverride
setEmulatedMedia setEmulatedMedia
setGeolocationOverride setGeolocationOverride
setPageScaleFactor setPageScaleFactor
setScriptExecutionDisabled setScriptExecutionDisabled
setTouchEmulationEnabled setTouchEmulationEnabled
setVirtualTimePolicy setVirtualTimePolicy
setVisibleSize setVisibleSize

Events

Chrome (CDP 1.2)

Edge 0.1

Edge 0.2 (preview)

Node (V8)

Safari iOS 10.0

virtualTimeBudgetExpired virtualTimeBudgetExpired

Types

Chrome (CDP 1.2)

Edge 0.1

Edge 0.2 (preview)

Node (V8)

Safari iOS 10.0

ScreenOrientation ScreenOrientation
VirtualTimePolicy VirtualTimePolicy