IMockerBlazorTestHelpers<(Of <(<'T>)>)>..::..ClickButton Method (Func<(Of <(<'IElement, Boolean>)>)>, Func<(Of <(<'Boolean>)>)>, Nullable<(Of <(<'TimeSpan>)>)>)
Clicks the button element.
Namespace:
FastMoq.Web.Blazor.InterfacesAssembly: FastMoq.Web (in FastMoq.Web.dll)
Syntax
IMockerBlazorTestHelpers<T> ClickButton( Func<IElement, bool> cssSelector, Func<bool> waitFunc, Nullable<TimeSpan> waitTimeout )
Function ClickButton ( _ cssSelector As Func(Of IElement, Boolean), _ waitFunc As Func(Of Boolean), _ waitTimeout As Nullable(Of TimeSpan) _ ) As IMockerBlazorTestHelpers(Of T)
IMockerBlazorTestHelpers<T>^ ClickButton( Func<IElement^, bool^>^ cssSelector, Func<bool^>^ waitFunc, Nullable<TimeSpan^> waitTimeout )
Parameters
- cssSelector
- Type: Func<(Of <(<'IElement, Boolean>)>)>
The CSS selector.
- waitFunc
- Type: Func<(Of <(<'Boolean>)>)>
The wait function.
- waitTimeout
- Type: Nullable<(Of <(<'TimeSpan>)>)>
The wait timeout.