HasClass(String) Method

Definition

Assembly HeadlessTestingFramework.dll

Checks if the element has the specified CSS class.

public bool HasClass(string className)

Parameters

className
String

The class name to check.

Returns

Boolean
True if the class is present.