Search Results for

    Show / Hide Table of Contents

    Class Button

    Defines a wrapper for the core web Button control.

    Inheritance
    System.Object
    WebElementWrapper
    Button
    RadioButton
    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 Button : WebElementWrapper, IElementWrapper<RemoteWebElement>

    Constructors

    | Improve this Doc View Source

    Button(IWebElement)

    Initializes a new instance of the Button class.

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

    The reference.

    | Improve this Doc View Source

    Button(RemoteWebElement)

    Initializes a new instance of the Button class.

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

    The reference.

    Operators

    | Improve this Doc View Source

    Implicit(RemoteWebElement to Button)

    Allows conversion of a to the Button without direct casting.

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

    The .

    Returns
    Type Description
    Button

    The Button.

    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