tap method

PlaybookStep tap(
  1. Object target
)

Taps target.

target is a String, Key, Type, IconData or a Find finder.

Implementation

PlaybookStep tap(Object target) {
  final PlaybookFinder finder = Find.target(target);
  return PlaybookStep(
    'Tap ${finder.description}',
    (PlaybookActor actor) => actor.tap(finder),
  );
}