Class WebElementReference

Namespace
ProtoTest.Web
Assembly
ProtoTest.Web.dll

The immutable semantic reference passed to a concrete web backend.

public sealed record WebElementReference : IEquatable<WebElementReference>
Inheritance
WebElementReference
Implements
Inherited Members
Extension Methods

Constructors

WebElementReference(IReadOnlyList<WebLocator>, string, string, WebLocator)

The immutable semantic reference passed to a concrete web backend.

public WebElementReference(IReadOnlyList<WebLocator> ComponentRoots, string ComponentPath, string Name, WebLocator Locator)

Parameters

ComponentRoots IReadOnlyList<WebLocator>
ComponentPath string
Name string
Locator WebLocator

Properties

ComponentPath

public string ComponentPath { get; init; }

Property Value

string

ComponentRoots

public IReadOnlyList<WebLocator> ComponentRoots { get; init; }

Property Value

IReadOnlyList<WebLocator>

Locator

public WebLocator Locator { get; init; }

Property Value

WebLocator

Name

public string Name { get; init; }

Property Value

string