ArtOfTest, Inc. - WebAii 1.1 Automation Infrastructure reference library
Find.ByCustom<TControl>(predicate) method
Namespaces > ArtOfTest.WebAii.Core > Find > ByCustom<(Of TControl>)(Predicate<(Of TControl>))
Get a control by using custom predicate. This function will try to eliminate any elements that are not convertable to TControl type.
Syntax
C#
public TControl ByCustom<TControl> (
	Predicate<TControl> predicate
) where TControl : new(), Control
Generic Template Parameters
TControl
The control type.
Parameters
predicate (Predicate<(Of TControl>))
The predicate.
Return Value
The first found control.

Assembly: ArtOfTest.WebAii (Module: ArtOfTest.WebAii)