Search Results for

    Show / Hide Table of Contents

    Class TextInput

    Defines a wrapper for the core web Input text control.

    Inheritance
    System.Object
    WebElementWrapper
    TextInput
    DateInput
    NumberInput
    RangeInput
    TextArea
    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 TextInput : WebElementWrapper, IElementWrapper<RemoteWebElement>

    Constructors

    | Improve this Doc View Source

    TextInput(IWebElement)

    Initializes a new instance of the TextInput class.

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

    The reference.

    | Improve this Doc View Source

    TextInput(RemoteWebElement)

    Initializes a new instance of the TextInput class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    Text

    Gets the text value of the text input.

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

    Methods

    | Improve this Doc View Source

    AppendText(String)

    Appends the specified text to the text box.

    Declaration
    public virtual void AppendText(string text)
    Parameters
    Type Name Description
    System.String text

    The text to append.

    | Improve this Doc View Source

    ClearText()

    Clears the text from the text box.

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

    SetText(String)

    Sets the text of the text box to the specified text.

    Declaration
    public virtual void SetText(string text)
    Parameters
    Type Name Description
    System.String text

    The text to display.

    Operators

    | Improve this Doc View Source

    Implicit(RemoteWebElement to TextInput)

    Allows conversion of a to the TextInput without direct casting.

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

    The .

    Returns
    Type Description
    TextInput

    The TextInput.

    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