Table of Contents

Class FontFace

Namespace
OpenQA.Selenium.DevTools.V146.CSS
Assembly
Selenium.WebDriver.dll

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.

public sealed class FontFace
Inheritance
FontFace
Inherited Members

Properties

FontDisplay

The font-display.

[JsonPropertyName("fontDisplay")]
public string FontDisplay { get; set; }

Property Value

string

FontFamily

The font-family.

[JsonPropertyName("fontFamily")]
public string FontFamily { get; set; }

Property Value

string

FontStretch

The font-stretch.

[JsonPropertyName("fontStretch")]
public string FontStretch { get; set; }

Property Value

string

FontStyle

The font-style.

[JsonPropertyName("fontStyle")]
public string FontStyle { get; set; }

Property Value

string

FontVariant

The font-variant.

[JsonPropertyName("fontVariant")]
public string FontVariant { get; set; }

Property Value

string

FontVariationAxes

Available variation settings (a.k.a. "axes").

[JsonPropertyName("fontVariationAxes")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public FontVariationAxis[]? FontVariationAxes { get; set; }

Property Value

FontVariationAxis[]

FontWeight

The font-weight.

[JsonPropertyName("fontWeight")]
public string FontWeight { get; set; }

Property Value

string

PlatformFontFamily

The resolved platform font family

[JsonPropertyName("platformFontFamily")]
public string PlatformFontFamily { get; set; }

Property Value

string

Src

The src.

[JsonPropertyName("src")]
public string Src { get; set; }

Property Value

string

UnicodeRange

The unicode-range.

[JsonPropertyName("unicodeRange")]
public string UnicodeRange { get; set; }

Property Value

string