Search Results for

    Show / Hide Table of Contents

    Class CheckBox

    Defines a wrapper for the core web Input checkbox control.

    Inheritance
    System.Object
    WebElementWrapper
    CheckBox
    Implements
    IElementWrapper<RemoteWebElement>
    Inherited Members
    WebElementWrapper.Element
    WebElementWrapper.ElementDriver
    WebElementWrapper.Driver
    WebElementWrapper.IsEnabled
    WebElementWrapper.IsVisible
    WebElementWrapper.FindElement(By)
    WebElementWrapper.FindElements(By)
    WebElementWrapper.VerifyElementNotShown(By)
    WebElementWrapper.Click()
    WebElementWrapper.GetAttribute(String)
    WebElementWrapper.VerifyElementShown(By)
    WebElementWrapper.VerifyElementShown(By, Nullable<TimeSpan>)
    WebElementWrapper.VerifyElementsShown(By)
    WebElementWrapper.VerifyElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Web.Elements.Core
    Assembly: Legerity.Web.dll
    Syntax
    public class CheckBox : WebElementWrapper, IElementWrapper<RemoteWebElement>

    Constructors

    | Improve this Doc View Source

    CheckBox(IWebElement)

    Initializes a new instance of the CheckBox class.

    Declaration
    public CheckBox(IWebElement element)
    Parameters
    Type Name Description
    IWebElement element

    The reference.

    | Improve this Doc View Source

    CheckBox(RemoteWebElement)

    Initializes a new instance of the CheckBox class.

    Declaration
    public CheckBox(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The reference.

    Properties

    | Improve this Doc View Source

    IsChecked

    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 Source

    CheckOff()

    Checks the check box off.

    Declaration
    public virtual void CheckOff()
    | Improve this Doc View Source

    CheckOn()

    Checks the check box on.

    Declaration
    public virtual void CheckOn()

    Operators

    | Improve this Doc View Source

    Implicit(RemoteWebElement to CheckBox)

    Allows conversion of a to the CheckBox without direct casting.

    Declaration
    public static implicit operator CheckBox(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The .

    Returns
    Type Description
    CheckBox

    The CheckBox.

    Implements

    IElementWrapper<TElement>

    Extension Methods

    WebElementWrapperExtensions.TryWaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32, Action<Exception>)
    WebElementWrapperExtensions.WaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps