Class CheckBox
Defines a
Implements
IElementWrapper<RemoteWebElement>
Inherited Members
Namespace: Legerity.Web.Elements.Core
Assembly: Legerity.Web.dll
Syntax
public class CheckBox : WebElementWrapper, IElementWrapper<RemoteWebElement>
Constructors
| Improve this Doc View SourceCheckBox(IWebElement)
Initializes a new instance of the CheckBox class.
Declaration
public CheckBox(IWebElement element)
Parameters
Type | Name | Description |
---|---|---|
IWebElement | element | The |
CheckBox(RemoteWebElement)
Initializes a new instance of the CheckBox class.
Declaration
public CheckBox(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Properties
| Improve this Doc View SourceIsChecked
Gets a value indicating whether the check box is in the checked state.
Declaration
public virtual bool IsChecked { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceCheckOff()
Checks the check box off.
Declaration
public virtual void CheckOff()
CheckOn()
Checks the check box on.
Declaration
public virtual void CheckOn()
Operators
| Improve this Doc View SourceImplicit(RemoteWebElement to CheckBox)
Allows conversion of a
Declaration
public static implicit operator CheckBox(RemoteWebElement element)
Parameters
Type | Name | Description |
---|---|---|
RemoteWebElement | element | The |
Returns
Type | Description |
---|---|
CheckBox | The CheckBox. |