startPageObjectMethod method

  1. @override
void startPageObjectMethod(
  1. String pageObjectName,
  2. String methodName
)
override

Called at start of every page object method.

Implementation

@override
void startPageObjectMethod(String pageObjectName, String methodName) {
  final timerName = '$pageObjectName.$methodName';
  final timer = _timerFactory.create(timerName);
  (_runningTimers[timerName] ??= <CollectingTimer>[]).add(timer);
  timer.start();
}