IAutomationDriver::FindElement

This doesn't invoke the locator until some action is performed on the element.

Unreal Engine C++ API Reference > Developer > AutomationDriver > IAutomationDriver

References

   
Module AutomationDriver
Header /Engine/Source/Developer/AutomationDriver/Public/IAutomationDriver.h
Include #include "IAutomationDriver.h"
[TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IDriverElement](API\Developer\AutomationDriver\IDriverElement), ESPMode::ThreadSafe > FindElement
(
    const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IElementLocator](API\Developer\AutomationDriver\IElementLocator), ESPMode::ThreadSafe > & ElementLocator
)

Remarks

This doesn't invoke the locator until some action is performed on the element. You will need to invoke the Exists() method on the element to confirm the elements existence if that is what you want to do. a driver element representing a single element located by the specified locator


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library