getElementProp<T> method

T getElementProp<T>(
  1. NamedElementProp<T> prop
)

Retrieves a specific property from the matched widget's element.

Use this method to get a property value directly from the element of the widget for further processing or assertions.

Implementation

T getElementProp<T>(NamedElementProp<T> prop) {
  return prop.get(element);
}