Class CSSDescription
The description of a Web test object based on a CSS selector.
public class CSSDescription : PropertiesDescription, IDescription, ICloneable
- Inheritance
-
CSSDescription
- Implements
- Inherited Members
Constructors
CSSDescription()
Initializes a new instance of the CSSDescription class with an empty CSS selector (null).
public CSSDescription()
CSSDescription(string)
Initializes a new instance of the CSSDescription class with the provided CSS selector.
public CSSDescription(string cssSelector)
Parameters
cssSelectorstringThe CSS selector to be used as the Web object's description.
Methods
ToString()
ToString override. The string representation of this CSSDescription object.
public override string ToString()
Returns
Operators
implicit operator CSSDescription(string)
Implicit cast of the specified string to a CSSDescription.
public static implicit operator CSSDescription(string cssStr)
Parameters
cssStrstringThe CSS selector to be used as the Web object's description.
Returns
- CSSDescription
A CSSDescription object based on the specified css selector.