LocatorLocator.cloneVersion: 24.10.0On this pageLocator.clone() method Clones the locator. Signature​ class Locator { clone(): Locator<T>;} Returns: Locator<T>