DVDriver class
The driver over the app on this host.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - Stops keeping the semantics tree alive for the driver.
-
find(
{String? label, String? role}) → String? -
The ref of the first node with
label(androle, when given). -
logs(
{int since = 0}) → DVDriverLogs -
Log records since
since(a cursor from an earlier call), redacted as everywhere else. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scroll(
String ref, {required DVScrollDirection toward}) → Future< void> -
Scrolls the scrollable that holds
refone pagetowarda direction. -
status(
) → Map< String, Object?> - The host, how many nodes the tree has, and the diagnostics (warnings and errors in the log) raised since the last status.
-
tap(
String ref) → Future< void> -
Activates
ref, as a tap or a press of Enter would. -
toString(
) → String -
A string representation of this object.
inherited
-
tree(
{String? root}) → DVDriverTree -
The semantics tree, whole or from
root. -
type(
String ref, String text) → Future< void> -
Sets the text of the field
ref, focusing it first when it must be. -
wait(
{Duration timeout = const Duration(seconds: 10)}) → Future< void> -
Returns once nothing is scheduled: no frame, no animation. On
timeoutfails with DV-DRIVER-004 naming what was still pending, because "timed out" alone sends an agent back to adding a longer wait.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited