Table of Contents

Namespace Selenium.WebDriver.BiDi.Cdp.CSS

Classes

AddRuleResult
CSSAnimationStyle

CSS style coming from animations with the name of the animation.

CSSAtRule

CSS generic @rule representation.

CSSComputedStyleProperty
CSSContainerQuery

CSS container query rule descriptor.

CSSDomainEvent

Provides static event descriptors for the ICSS.

CSSFunctionConditionNode

CSS function conditional block representation.

CSSFunctionNode

Section of the body of a CSS function rule.

CSSFunctionParameter

CSS function argument representation.

CSSFunctionRule

CSS function at-rule representation.

CSSKeyframeRule

CSS keyframe rule representation.

CSSKeyframesRule

CSS keyframes rule representation.

CSSLayer

CSS Layer at-rule descriptor.

CSSLayerData

CSS Layer data.

CSSMedia

CSS media rule descriptor.

CSSNavigation

CSS Navigation at-rule descriptor.

CSSPositionTryRule

CSS @position-try rule representation.

CSSProperty

CSS property declaration data.

CSSPropertyRegistration

Representation of a custom property registration through CSS.registerProperty

CSSPropertyRule

CSS property at-rule representation.

CSSRule

CSS rule representation.

CSSScope

CSS Scope at-rule descriptor.

CSSStartingStyle

CSS Starting Style at-rule descriptor.

CSSStyle

CSS style representation.

CSSStyleSheetHeader

CSS stylesheet metainformation.

CSSSupports

CSS Supports at-rule descriptor.

CSSTryRule

CSS try rule representation.

CollectClassNamesResult
ComputedStyleExtraFields
ComputedStyleUpdatedEventArgs
CreateStyleSheetResult
DisableResult
EnableResult
FontFace

Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions and additional information such as platformFontFamily and fontVariationAxes.

FontVariationAxis

Information about font variation axes for variable fonts

FontsUpdatedEventArgs

Fires whenever a web font is updated. A non-empty font parameter indicates a successfully loaded web font.

ForcePseudoStateResult
ForceStartingStyleResult
GetAnimatedStylesForNodeResult
GetBackgroundColorsResult
GetComputedStyleForNodeResult
GetEnvironmentVariablesResult
GetInlineStylesForNodeResult
GetLayersForNodeResult
GetLocationForSelectorResult
GetLonghandPropertiesResult
GetMatchedStylesForNodeResult
GetMediaQueriesResult
GetPlatformFontsForNodeResult
GetStyleSheetTextResult
InheritedAnimatedStyleEntry

Inherited CSS style collection for animated styles from ancestor node.

InheritedPseudoElementMatches

Inherited pseudo element matches from pseudos of an ancestor node.

InheritedStyleEntry

Inherited CSS rule collection from ancestor node.

MediaQuery

Media query descriptor.

MediaQueryExpression

Media query expression descriptor.

MediaQueryResultChangedEventArgs

Fires whenever a MediaQuery result changes (for example, after a browser window has been resized.) The current implementation considers only viewport-dependent media features.

PlatformFontUsage

Information about amount of glyphs that were rendered with given font.

PseudoElementMatches

CSS rule collection for a single pseudo style.

ResolveValuesResult
RuleMatch

Match data for a CSS rule.

RuleUsage

CSS coverage information.

SelectorList

Selector list data.

SetContainerQueryConditionTextResult
SetContainerQueryTextResult
SetEffectivePropertyValueForNodeResult
SetKeyframeKeyResult
SetLocalFontsEnabledResult
SetMediaTextResult
SetNavigationTextResult
SetPropertyRulePropertyNameResult
SetRuleSelectorResult
SetScopeTextResult
SetStyleSheetTextResult
SetStyleTextsResult
SetSupportsTextResult
ShorthandEntry
SourceRange

Text range within a resource. All numbers are zero-based.

Specificity

Specificity: https://drafts.csswg.org/selectors/#specificity-rules

SpecificityComponent

Contribution of an individual simple selector to specificity.

StartRuleUsageTrackingResult
StopRuleUsageTrackingResult
StyleDeclarationEdit

A descriptor of operation to mutate style declaration text.

StyleSheetAddedEventArgs

Fired whenever an active document stylesheet is added.

StyleSheetChangedEventArgs

Fired whenever a stylesheet is changed as a result of the client operation.

StyleSheetRemovedEventArgs

Fired whenever an active document stylesheet is removed.

TakeComputedStyleUpdatesResult
TakeCoverageDeltaResult
TrackComputedStyleUpdatesForNodeResult
TrackComputedStyleUpdatesResult
Value

Data for a simple selector (these are delimited by commas in a selector list).

Interfaces

ICSS

This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles) have an associated id used in subsequent operations on the related object. Each object type has a specific id structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the get*ForNode() calls (which accept a DOM node id). A client can also keep track of stylesheets via the styleSheetAdded/styleSheetRemoved events and subsequently load the required stylesheet contents using the getStyleSheetText methods.

Enums

CSSRuleType

Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors. This list only contains rule types that are collected during the ancestor rule collection.

StyleSheetOrigin

Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via inspector" rules), "regular" for regular stylesheets.