Table of Contents

Namespace WebDriverBiDi.Emulation

Classes

EmulationModule

The Emulation module contains commands relating to emulating various conditions in the browser.

GeolocationCoordinates

A data class representing a set of geolocation coordinates.

GeolocationPositionError

A data class representing an error in retrieving a geolocation.

MediaFeatures

A data class representing the set of allowable CSS media feature override values.

NetworkConditions

The abstract base class for network conditions to emulate.

NetworkConditionsOffline

A class for emulating the network conditions of a device being offline.

ScreenArea

Represents the emulated area of a screen.

ScreenOrientation

Represents the screen orientation settings for emulation.

SetForcedColorsModeThemeOverrideCommandParameters

Provides parameters for the emulation.setForcedColorsModeThemeOverride command.

SetForcedColorsModeThemeOverrideCommandResult

Result of setting the forced color mode theme override using the emulation.setForcedColorsModeThemeOverride command.

SetGeolocationOverrideCommandParameters

Provides parameters for the emulation.setGeolocationOverride command.

SetGeolocationOverrideCommandResult

Result of setting the geolocation override using the emulation.setGeolocationOverride command.

SetGeolocationOverrideCoordinatesCommandParameters

Provides parameters for the emulation.setGeolocationOverride command that override the geolocation with a set of coordinates.

SetGeolocationOverrideErrorCommandParameters

Provides parameters for the emulation.setGeolocationOverride command that make the geolocation fail with an error instead of returning a position.

SetLocaleOverrideCommandParameters

Provides parameters for the emulation.setLocaleOverride command.

SetLocaleOverrideCommandResult

Result of setting the locale override using the emulation.setLocaleOverride command.

SetMediaFeaturesOverrideCommandParameters

Provides parameters for the emulation.setMediaFeaturesOverride command.

SetMediaFeaturesOverrideCommandResult

Result of setting the media features override using the emulation.setMediaFeaturesOverride command.

SetNetworkConditionsCommandParameters

Provides parameters for the emulation.setNetworkConditions command.

SetNetworkConditionsCommandResult

Result of setting the network conditions override using the emulation.setNetworkConditions command.

SetScreenOrientationOverrideCommandParameters

Provides parameters for the emulation.setScreenOrientationOverride command.

SetScreenOrientationOverrideCommandResult

Result of setting the screen orientation override using the emulation.setScreenOrientationOverride command.

SetScreenSettingsOverrideCommandParameters

Provides parameters for the emulation.setScreenSettingsOverride command.

SetScreenSettingsOverrideCommandResult

Result of setting the screen settings using the emulation.setScreenSettingsOverride command.

SetScriptingEnabledCommandParameters

Provides parameters for the emulation.setScriptingEnabled command.

SetScriptingEnabledCommandResult

Result of setting scripting enabled using the emulation.setScriptingEnabled command.

SetScrollbarTypeOverrideCommandParameters

Provides parameters for setting the scroll bar type override for the browser.

SetScrollbarTypeOverrideCommandResult

Result of setting the scrollbar type using the emulation.setScrollbarTypeOverride command.

SetTextLayoutModeOverrideCommandParameters

Provides parameters for the emulation.setTextLayoutModeOverride command.

SetTextLayoutModeOverrideCommandResult

Result of setting the text layout mode override using the emulation.setTextLayoutModeOverride command.

SetTimeZoneOverrideCommandParameters

Provides parameters for the emulation.setTimezoneOverride command.

SetTimeZoneOverrideCommandResult

Result of setting timezone override using the emulation.setTimezoneOverride command.

SetTouchOverrideCommandParameters

Provides parameters for the emulation.setTouchOverride command.

SetTouchOverrideCommandResult

Result of setting the touch override using the emulation.setTouchOverride command.

SetUserAgentOverrideCommandParameters

Provides parameters for the emulation.setUserAgentOverride command.

SetUserAgentOverrideCommandResult

Result of setting the user agent override using the emulation.setUserAgentOverride command.

SetViewportMetaOverrideCommandParameters

Provides parameters for the emulation.setViewportMetaOverride command.

SetViewportMetaOverrideCommandResult

Result of setting the viewport meta override using the emulation.setViewportMetaOverride command.

Enums

AnyHoverMediaFeatureValue

Provides values for the emulation of the "any-hover" CSS media feature.

AnyPointerMediaFeatureValue

Provides values for the emulation of the "any-pointer" CSS media feature.

ColorGamutMediaFeatureValue

Provides values for the emulation of the "color-gamut" CSS media feature.

DisplayModeMediaFeatureValue

Provides values for the emulation of the "display-mode" CSS media feature.

DynamicRangeMediaFeatureValue

Provides values for the emulation of the "dynamic-range" CSS media feature.

EnvironmentBlendingMediaFeatureValue

Provides values for the emulation of the "environment-blending" CSS media feature.

ForcedColorsMediaFeatureValue

Provides values for the emulation of the "forced-colors" CSS media feature.

ForcedColorsModeTheme

Values used for the emulation of forced color themes.

HoverMediaFeatureValue

Provides values for the emulation of the "hover" CSS media feature.

InvertedColorsMediaFeatureValue

Provides values for the emulation of the "inverted-colors" CSS media feature.

NavControlsMediaFeatureValue

Provides values for the emulation of the "nav-controls" CSS media feature.

OverflowBlockMediaFeatureValue

Provides values for the emulation of the "overflow-block" CSS media feature.

OverflowInlineMediaFeatureValue

Provides values for the emulation of the "overflow-inline" CSS media feature.

PointerMediaFeatureValue

Provides values for the emulation of the "pointer" CSS media feature.

PrefersColorSchemeMediaFeatureValue

Provides values for the emulation of the "prefers-color-scheme" CSS media feature.

PrefersContrastMediaFeatureValue

Provides values for the emulation of the "prefers-contrast" CSS media feature.

PrefersReducedDataMediaFeatureValue

Provides values for the emulation of the "prefers-reduced-data" CSS media feature.

PrefersReducedMotionMediaFeatureValue

Provides values for the emulation of the "prefers-reduced-motion" CSS media feature.

PrefersReducedTransparencyMediaFeatureValue

Provides values for the emulation of the "prefers-reduced-transparency" CSS media feature.

ScanMediaFeatureValue

Provides values for the emulation of the "scan" CSS media feature.

ScreenOrientationNatural

The enumerated values for the natural screen orientation of a display.

ScreenOrientationType

The enumerated values for the current screen orientation of the emulated display.

ScriptingMediaFeatureValue

Provides values for the emulation of the "scripting" CSS media feature.

ScrollbarType

The enumerated values for the scroll bar type of the emulated display.

TextLayoutMode

Provides values for the emulation of text layout mode.

UpdateMediaFeatureValue

Provides values for the emulation of the "update" CSS media feature.

VideoColorGamutMediaFeatureValue

Provides values for the emulation of the "video-color-gamut" CSS media feature.

VideoDynamicRangeMediaFeatureValue

Provides values for the emulation of the "video-dynamic-range" CSS media feature.