By::Id

Creates a new element locator that limits its discovered elements to ones with the specified Id

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 > Id
(
    const TCHAR * Value
)

Remarks

Creates a new element locator that limits its discovered elements to ones with the specified Id

Returns

a locator which uses the specified Id to discover appropriate elements

Parameters

Parameter

Description

Value

The MetaData ID of the element to find