Navigation
API > API/Developer > API/Developer/AutomationDriver
Represents a collection of fluent helper functions designed to make accessing and creating element locators easy
| Name | By |
| Type | class |
| Header File | /Engine/Source/Developer/AutomationDriver/Public/LocateBy.h |
| Include Path | #include "LocateBy.h" |
Syntax
class By
Classes
| Name | Remarks |
|---|---|
| TextFilter |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Cursor() |
Creates a new element locator that limits its discovered elements to the one under the cursors current position | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Delegate
(
const FLocateSlateWidgetElementDelegate& Value, |
Creates a new element locator that exposes the collection of SWidgets returned from the FLocateSlateWidgetElementDelegate as discovered elements | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Delegate
(
const FLocateSlateWidgetPathElementDelegate& Value, |
Creates a new element locator that exposes the collection of FWidgetPaths returned from the FLocateSlateWidgetElementDelegate as discovered elements | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Id
(
const FDriverElementRef& Root, |
Creates a new element locator that limits its discovered elements to ones with the specified Id, starting from the Root element given to the function | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Id
(
const FDriverElementRef& Root, |
Creates a new element locator that limits its discovered elements to ones with the specified Id, starting from the Root element given to the function | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Id
(
const FDriverElementRef& Root, |
Creates a new element locator that limits its discovered elements to ones with the specified Id, starting from the Root element given to the function | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Id
(
const char* Value |
Creates a new element locator that limits its discovered elements to ones with the specified Id | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Id
(
const TCHAR* Value |
Creates a new element locator that limits its discovered elements to ones with the specified Id | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Id
(
const FDriverElementRef& Root, |
Creates a new element locator that limits its discovered elements to ones with the specified Id, starting from the Root element given to the function | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Id
(
const FString& Value |
Creates a new element locator that limits its discovered elements to ones with the specified Id | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Id
(
const FName& Value |
Creates a new element locator that limits its discovered elements to ones with the specified Id | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > KeyboardFocus() |
Creates a new element locator that limits its discovered element to the one that's currently in keyboard focus | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Path
(
const FDriverElementRef& Root, |
Creates a new element locator that limits its discovered elements to ones matching the specified "path", starting from the Root element given to the function | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Path
(
const FString& Value |
Creates a new element locator that limits its discovered elements to ones matching the specified "path" | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Path
(
const FName& Value |
Creates a new element locator that limits its discovered elements to ones matching the specified "path" | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Path
(
const TCHAR* Value |
Creates a new element locator that limits its discovered elements to ones matching the specified "path" | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Path
(
const char* Value |
Creates a new element locator that limits its discovered elements to ones matching the specified "path" | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Path
(
const FDriverElementRef& Root, |
Creates a new element locator that limits its discovered elements to ones matching the specified "path", starting from the Root element given to the function | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Path
(
const FDriverElementRef& Root, |
Creates a new element locator that limits its discovered elements to ones matching the specified "path", starting from the Root element given to the function | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > Path
(
const FDriverElementRef& Root, |
Creates a new element locator that limits its discovered elements to ones matching the specified "path", starting from the Root element given to the function | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > UserFocus
(
uint32 UserIndex |
Creates a new element locator that limits its discovered element to the one that's currently in user focus | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > WidgetLambda
(
const TFunction< void(TArray< TSharedRef< SWidget > >&)>& Value, |
Creates a new element locator that exposes the collection of SWidgets returned from the lambda as discovered elements | LocateBy.h | |
static TSharedRef< IElementLocator, ESPMode::ThreadSafe > WidgetPathLambda
(
const TFunction< void(TArray< FWidgetPath >&)>& Value, |
Creates a new element locator that exposes the collection of FWidgetPaths returned from the lambda as discovered elements | LocateBy.h |