TryFindElement(By) Method

Definition

Assembly HeadlessTestingFramework.dll

Tries to find an element, returning null if not found.

public AvaloniaElement? TryFindElement(By by)

Parameters

by
By

The locator strategy.

Returns

AvaloniaElement
The element or null.