Skip to content

Commit

Permalink
Implement ByWindowsUIAutomation methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stoneman committed Aug 26, 2016
1 parent c563763 commit 4655675
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions appium-dotnet-driver/Appium/Windows/WindowsDriver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ public WindowsDriver(AppiumLocalService service, DesiredCapabilities desiredCapa
/// <returns>IWebElement object so that you can interact that object</returns>
public W FindElementByWindowsUIAutomation(string selector)
{
//return (W)this.FindElement("-windows uiautomation", selector);
throw new NotImplementedException();
return (W)this.FindElement("-windows uiautomation", selector);
}

/// <summary>
Expand All @@ -127,9 +126,8 @@ public W FindElementByWindowsUIAutomation(string selector)
/// <returns>ReadOnlyCollection of IWebElement objects so that you can interact with those objects</returns>
public ReadOnlyCollection<W> FindElementsByWindowsUIAutomation(string selector)
{
//return CollectionConverterUnility.ConvertToExtendedWebElementCollection<W>(
// this.FindElements("-windows uiautomation", selector));
throw new NotImplementedException();
return CollectionConverterUnility.ConvertToExtendedWebElementCollection<W>(
this.FindElements("-windows uiautomation", selector));
}

#endregion IFindByWindowsUIAutomation Members
Expand Down

0 comments on commit 4655675

Please sign in to comment.