By::WidgetPathLambda

Creates a new element locator that exposes the collection of FWidgetPaths returned from the lambda as discovered elements

Windows
MacOS
Linux

References

Module

AutomationDriver

Header

/Engine/Source/Developer/AutomationDriver/Public/LocateBy.h

Include

#include "LocateBy.h"

Source

/Engine/Source/Developer/AutomationDriver/Private/LocateBy.cpp

Syntax

static TSharedRef< IElementLocator, ESPMode::ThreadSafe > WidgetPathLambda
(
    const TFunction< void< FWidgetPath > &)> & Value
)

Remarks

Creates a new element locator that exposes the collection of FWidgetPaths returned from the lambda as discovered elements

Returns

a locator which uses the specified lambda to discover appropriate elements

Parameters

Parameter

Description

Value

The lambda to use