RefreshedElement(By, AvaloniaElement) Method

Definition

Assembly HeadlessTestingFramework.dll

An expectation for checking that an element becomes stale and is replaced by a new one.

public static Func<AvaloniaDriver, AvaloniaElement> RefreshedElement(By locator, AvaloniaElement oldElement)

Parameters

locator
By

The locator to find the new element.

oldElement
AvaloniaElement

The old element that should become stale.

Returns