Navigation
Unreal Engine C++ API Reference > Developer > AutomationDriver > By
References
Module | AutomationDriver |
Header | /Engine/Source/Developer/AutomationDriver/Public/LocateBy.h |
Include | #include "LocateBy.h" |
Source | /Engine/Source/Developer/AutomationDriver/Private/LocateBy.cpp |
static [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IElementLocator](API\Developer\AutomationDriver\IElementLocator), ESPMode::ThreadSafe > WidgetPathLambda ( const [TFunction](API\Runtime\Core\GenericPlatform\TFunction)< void([TArray](API\Runtime\Core\Containers\TArray)< [FWidgetPath](API\Runtime\SlateCore\Layout\FWidgetPath) > &)> & Value )
Remarks
Creates a new element locator that exposes the collection of FWidgetPaths returned from the lambda as discovered elements a locator which uses the specified lambda to discover appropriate elements
Parameters
Name | Description |
---|---|
Value | The lambda to use |