Skip to main content

Finder

Finder is used to search for controls by different criteria.

Properties

  • count - The number of controls found by this finder.
  • first - Returns a Finder that finds the first control found by this finder.
  • id - Internal finder ID - corresponds to a Finder instance on Dart side.
  • index - The index of the control to interact with when multiple controls are found.
  • last - Returns a Finder that finds the last control found by this finder.

Methods

  • at - Returns a Finder that finds the control at the given index.

Properties​

countinstance-attribute​

count: int

The number of controls found by this finder.

firstproperty​

first: Finder

Returns a Finder that finds the first control found by this finder.

idinstance-attribute​

id: int

Internal finder ID - corresponds to a Finder instance on Dart side.

indexclass-attributeinstance-attribute​

index: int = 0

The index of the control to interact with when multiple controls are found.

lastproperty​

last: Finder

Returns a Finder that finds the last control found by this finder.

Methods​

at​

at(index: int) -> Finder

Returns a Finder that finds the control at the given index.

Parameters:

  • index (int) - The index of the control to find.