By::WidgetLambda

Creates a new element locator that exposes the collection of SWidgets 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 > WidgetLambda()

Remarks

Creates a new element locator that exposes the collection of SWidgets 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