normalizedLocator property

ElementLocator? get normalizedLocator

Implementation

ElementLocator? get normalizedLocator {
  if (locator != null) return locator;
  if (testId == null || testId!.isEmpty) return null;
  return ElementLocator(id: testId, occurrence: occurrence);
}