Table of Contents

Namespace Selenium.WebDriver.BiDi.Cdp.Emulation

Classes

AddScreenResult
CanEmulateResult
ClearDeviceMetricsOverrideResult
ClearDevicePostureOverrideResult
ClearDisplayFeaturesOverrideResult
ClearGeolocationOverrideResult
ClearIdleOverrideResult
DevicePosture
DisplayFeature
EmulationDomainEvent

Provides static event descriptors for the IEmulation.

GetOverriddenSensorInformationResult
GetScreenInfosResult
MediaFeature
PressureMetadata
RemoveScreenResult
ResetPageScaleFactorResult
SafeAreaInsets
ScreenId
ScreenInfo

Screen information similar to the one returned by window.getScreenDetails() method, see https://w3c.github.io/window-management/#screendetailed.

ScreenOrientation

Screen orientation.

ScreenOrientationLockChangedEventArgs

Fired when a page calls screen.orientation.lock() or screen.orientation.unlock() while device emulation is enabled. This allows the DevTools frontend to update the emulated device orientation accordingly.

SensorMetadata
SensorReading
SensorReadingQuaternion
SensorReadingSingle
SensorReadingXYZ
SetAutoDarkModeOverrideResult
SetAutomationOverrideResult
SetCPUPerformanceOverrideResult
SetCPUThrottlingRateResult
SetDataSaverOverrideResult
SetDefaultBackgroundColorOverrideResult
SetDeviceMetricsOverrideResult
SetDevicePostureOverrideResult
SetDisabledImageTypesResult
SetDisplayFeaturesOverrideResult
SetDocumentCookieDisabledResult
SetEmitTouchEventsForMouseResult
SetEmulatedMediaResult
SetEmulatedOSTextScaleResult
SetEmulatedVisionDeficiencyResult
SetFocusEmulationEnabledResult
SetGeolocationOverrideResult
SetHardwareConcurrencyOverrideResult
SetIdleOverrideResult
SetLocaleOverrideResult
SetNavigatorOverridesResult
SetPageScaleFactorResult
SetPressureSourceOverrideEnabledResult
SetPressureStateOverrideResult
SetPrimaryScreenResult
SetSafeAreaInsetsOverrideResult
SetScriptExecutionDisabledResult
SetScrollbarsHiddenResult
SetSensorOverrideEnabledResult
SetSensorOverrideReadingsResult
SetSmallViewportHeightDifferenceOverrideResult
SetTimezoneOverrideResult
SetTouchEmulationEnabledResult
SetUserAgentOverrideResult
SetVirtualKeyboardGeometryOverrideResult
SetVirtualTimePolicyResult
SetVisibleSizeResult
UpdateScreenResult
UserAgentBrandVersion

Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints

UserAgentMetadata

Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints Missing optional values will be filled in by the target with what it would normally use.

VirtualTimeBudgetExpiredEventArgs

Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.

WorkAreaInsets

Interfaces

IEmulation

This domain emulates different environments for the page.

Enums

DisabledImageType

Enum of image types that can be disabled.

PressureSource
PressureState
SensorType

Used to specify sensor types to emulate. See https://w3c.github.io/sensors/#automation for more information.

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.