execute method

  1. @override
Future<bool> execute(
  1. Tester tester
)
override

Called when it executes the action in a flow file.

Implementation

@override
Future<bool> execute(Tester tester) async {
  final node = await tester.find(
    text,
    timeout: timeout != null ? Duration(milliseconds: timeout!) : null,
  );
  return node != null;
}