Search Results for

    Show / Hide Table of Contents

    Class DateInput

    Defines a wrapper for the core web Input date control.

    Inheritance
    System.Object
    WebElementWrapper
    TextInput
    DateInput
    Implements
    IElementWrapper<RemoteWebElement>
    Inherited Members
    TextInput.Text
    TextInput.SetText(String)
    TextInput.AppendText(String)
    TextInput.ClearText()
    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 DateInput : TextInput, IElementWrapper<RemoteWebElement>

    Constructors

    | Improve this Doc View Source

    DateInput(IWebElement)

    Initializes a new instance of the DateInput class.

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

    The reference.

    | Improve this Doc View Source

    DateInput(RemoteWebElement)

    Initializes a new instance of the DateInput class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    SelectedDate

    Gets the value of the date picker as a .

    Declaration
    public virtual DateTime? SelectedDate { get; }
    Property Value
    Type Description
    System.Nullable<DateTime>
    | Improve this Doc View Source

    Value

    Gets the value of the date picker.

    Declaration
    public virtual string Value { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    SetDate(DateTime)

    Sets the date to the specified date.

    Declaration
    public virtual void SetDate(DateTime date)
    Parameters
    Type Name Description
    DateTime date

    The date to set.

    Operators

    | Improve this Doc View Source

    Implicit(RemoteWebElement to DateInput)

    Allows conversion of a to the DateInput without direct casting.

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

    The .

    Returns
    Type Description
    DateInput

    The DateInput.

    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