Class AXValueSource
- Namespace
- OpenQA.Selenium.DevTools.V148.Accessibility
- Assembly
- Selenium.WebDriver.dll
A single source for a computed AX property.
public sealed class AXValueSource
- Inheritance
-
AXValueSource
- Inherited Members
Properties
Attribute
The name of the relevant attribute, if any.
[JsonPropertyName("attribute")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Attribute { get; set; }
Property Value
AttributeValue
The value of the relevant attribute, if any.
[JsonPropertyName("attributeValue")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXValue? AttributeValue { get; set; }
Property Value
Invalid
Whether the value for this property is invalid.
[JsonPropertyName("invalid")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Invalid { get; set; }
Property Value
- bool?
InvalidReason
Reason for the value being invalid, if it is.
[JsonPropertyName("invalidReason")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? InvalidReason { get; set; }
Property Value
NativeSource
The native markup source for this value, e.g. a <label> element.
[JsonPropertyName("nativeSource")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXValueNativeSourceType? NativeSource { get; set; }
Property Value
NativeSourceValue
The value, such as a node or node list, of the native source.
[JsonPropertyName("nativeSourceValue")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXValue? NativeSourceValue { get; set; }
Property Value
Superseded
Whether this source is superseded by a higher priority source.
[JsonPropertyName("superseded")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? Superseded { get; set; }
Property Value
- bool?
Type
What type of source this is.
[JsonPropertyName("type")]
public AXValueSourceType Type { get; set; }
Property Value
Value
The value of this property source.
[JsonPropertyName("value")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public AXValue? Value { get; set; }