IMockerBlazorTestHelpers<(Of <(<'T>)>)>..::..ClickButton<(Of <(<'TComponent>)>)> Method (String, Func<(Of <(<'Boolean>)>)>, IRenderedComponent<(Of <(<'TComponent>)>)>, Nullable<(Of <(<'TimeSpan>)>)>)
Clicks the button element.
Namespace:
FastMoq.Web.Blazor.InterfacesAssembly: FastMoq.Web (in FastMoq.Web.dll)
Syntax
IMockerBlazorTestHelpers<T> ClickButton<TComponent>( string cssSelector, Func<bool> waitFunc, IRenderedComponent<TComponent> startingComponent, Nullable<TimeSpan> waitTimeout ) where TComponent : IComponent, IComponent
Function ClickButton(Of TComponent As {IComponent, IComponent}) ( _ cssSelector As String, _ waitFunc As Func(Of Boolean), _ startingComponent As IRenderedComponent(Of TComponent), _ waitTimeout As Nullable(Of TimeSpan) _ ) As IMockerBlazorTestHelpers(Of T)
generic<typename TComponent> where TComponent : IComponent, IComponent IMockerBlazorTestHelpers<T>^ ClickButton( String^ cssSelector, Func<bool^>^ waitFunc, IRenderedComponent<TComponent>^ startingComponent, Nullable<TimeSpan^> waitTimeout )
Type Parameters
- TComponent
- The type of the t component.
Parameters
- cssSelector
- Type: String
The CSS selector.
- waitFunc
- Type: Func<(Of <(<'Boolean>)>)>
The wait function.
- startingComponent
- Type: IRenderedComponent<(Of <(<'TComponent>)>)>
The starting component.
- waitTimeout
- Type: Nullable<(Of <(<'TimeSpan>)>)>
The wait timeout.