ElementTarget class

Identifies an element either from an observation or through a locator.

Constructors

ElementTarget({String? testId, String? elementId, String? observationId, int? occurrence, ElementLocator? locator})
const
ElementTarget.fromJson(Map<String, dynamic> json)
factory

Properties

elementId → String?
final
hashCode → int
The hash code for this object.
no setterinherited
locator → ElementLocator?
final
normalizedLocator → ElementLocator?
no setter
observationId → String?
final
occurrence → int?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
testId → String?
final
usesSnapshotElement → bool
no setter
usesStructuredTarget → bool
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromOperationArgs(Map<String, dynamic> args) → ElementTarget
Reads the target shape used by an operation's input map.