toBySelector

fun UiAutomatorLocator.toBySelector(): BySelector

Converts UiAutomatorLocator (serializable, KMP) to Android BySelector for execution.