I think this should be `UIATarget.localTarget().tap(element.rect());`?