MockerBlazorTestBase<(Of <(<'T>)>)>..::..IsExists Method

Determines whether the specified CSS selector is exists.

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

Syntax


public bool IsExists(
	string cssSelector,
	bool throwOnNotExist
)
Public Function IsExists ( _
	cssSelector As String, _
	throwOnNotExist As Boolean _
) As Boolean
public:
bool^ IsExists(
	String^ cssSelector, 
	bool^ throwOnNotExist
)

Parameters

cssSelector
Type: String
The CSS selector.
throwOnNotExist
Type: Boolean
if set to true [throw on not exist].

Return Value

true if the specified CSS selector is exists; otherwise, false.