MockerBlazorTestBase<(Of <(<'T>)>)>..::..SetElementText Method (String, String, Func<(Of <(<'Boolean>)>)>, Nullable<(Of <(<'TimeSpan>)>)>, Nullable<(Of <(<'IRenderedFragment>)>)>)

Sets the element text.

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

Syntax


public IMockerBlazorTestHelpers<T> SetElementText(
	string cssSelector,
	string text,
	Func<bool> waitFunc,
	Nullable<TimeSpan> waitTimeout,
	Nullable<IRenderedFragment> startingPoint
)
Public Function SetElementText ( _
	cssSelector As String, _
	text As String, _
	waitFunc As Func(Of Boolean), _
	waitTimeout As Nullable(Of TimeSpan), _
	startingPoint As Nullable(Of IRenderedFragment) _
) As IMockerBlazorTestHelpers(Of T)
public:
IMockerBlazorTestHelpers<T>^ SetElementText(
	String^ cssSelector, 
	String^ text, 
	Func<bool^>^ waitFunc, 
	Nullable<TimeSpan^> waitTimeout, 
	Nullable<IRenderedFragment^> startingPoint
)

Parameters

cssSelector
Type: String
The CSS selector.
text
Type: String
The text.
waitFunc
Type: Func<(Of <(<'Boolean>)>)>
The wait function.
waitTimeout
Type: Nullable<(Of <(<'TimeSpan>)>)>
The wait timeout.
startingPoint
Type: Nullable<(Of <(<'IRenderedFragment>)>)>
The starting point.

Return Value

IMockerBlazorTestHelpers<T>.