MockerBlazorTestBase<(Of <(<'T>)>)>..::..ClickButton Method (IElement, Func<(Of <(<'Boolean>)>)>, Nullable<(Of <(<'TimeSpan>)>)>)

Clicks the button element.

Namespace:  FastMoq.Web.Blazor
Assembly:  FastMoq.Web (in FastMoq.Web.dll)

Syntax


public IMockerBlazorTestHelpers<T> ClickButton(
	IElement button,
	Func<bool> waitFunc,
	Nullable<TimeSpan> waitTimeout
)
Public Function ClickButton ( _
	button As IElement, _
	waitFunc As Func(Of Boolean), _
	waitTimeout As Nullable(Of TimeSpan) _
) As IMockerBlazorTestHelpers(Of T)
public:
IMockerBlazorTestHelpers<T>^ ClickButton(
	IElement^ button, 
	Func<bool^>^ waitFunc, 
	Nullable<TimeSpan^> waitTimeout
)

Parameters

button
Type: IElement
The button.
waitFunc
Type: Func<(Of <(<'Boolean>)>)>
The wait function.
waitTimeout
Type: Nullable<(Of <(<'TimeSpan>)>)>
The wait timeout.

Return Value

IMockerBlazorTestHelpers<T>.