RegisterPredicate(String, Func<Control, Boolean>) Method

Definition

Assembly HeadlessTestingFramework.dll

Registers a custom predicate for use with By.Predicate.

public void RegisterPredicate(string key, Func<Control, bool> predicate)

Parameters

key
String

The predicate key.

predicate
Func<Control, Boolean>

The predicate function.