aquality-automation / aquality-winappdriver-dotnet

Apache License 2.0
10 stars 2 forks source link

Add override of GetElement() to IElement interface, to return AppiumWebElement, as was done in Aquality.Appium.Mobile #55

Closed mialeska closed 3 years ago

mialeska commented 3 years ago
    /// <summary>
    /// Gets current mobile element by specified <see cref="CoreElement.Locator"/>
    /// </summary>
    /// <param name="timeout">Timeout for waiting (would use default timeout from settings by default).</param>
    /// <returns></returns>
    /// <exception cref="OpenQA.Selenium.NoSuchElementException">Thrown if element was not found.</exception>
    new AppiumWebElement GetElement(TimeSpan? timeout = null);