WindowsUiElement class

Snapshot of a desktop UI Automation element.

Constructors

WindowsUiElement({String? name, String? className, String? automationId, required double x, required double y, required double width, required double height})
Creates a WindowsUiElement.
const
WindowsUiElement.fromJson(Map<String, dynamic> json)
Creates a WindowsUiElement from a JSON map returned by the runner.
factory

Properties

automationId → String?
UIA AutomationId.
final
className → String?
UIA ClassName.
final
hashCode → int
The hash code for this object.
no setterinherited
height → double
Height in screen pixels.
final
name → String?
UIA Name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
width → double
Width in screen pixels.
final
x → double
Left edge in screen pixels.
final
y → double
Top edge in screen pixels.
final

Methods

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

Operators

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