WinAppDriver
WinAppDriver copied to clipboard
What type of cast Im missing here when creating a List?
Im trying to create a list and store the values in that list with this code:
IList
But im getting this error:
Cannot implicitly convert type 'System.Collections.ObjectModel.ReadOnlyCollection<OpenQA.Selenium.Appium.Windows.WindowsElement>' to 'System.Collections.Generic.IList<OpenQA.Selenium.IWebElement>'. An explicit conversion exists (are you missing a cast?)
Can someone help?
var webElements = AccountWindowSession.FindElementsByTagName("ListItem");
Thanks @MikeSifanele