findWhereAction

static Optional<WidgetfindWhereAction(String action, Array<int> startInterfacePath)

Walks the tree of widget, starting with the interface provided by the given path. If no path is given, it walks through all widget. The walking is done depth-first. The first widget who has an action equal to the given action is returned.