I get exception after pressing click() for "FindElemebtByID" : I get exception after pressing click() for "FindElemebtByID". I get the next exception:


Error	CS1061	'ReadOnlyCollection<WindowsElement>' does not contain a definition for 'Click' and no accessible extension method 'Click' accepting a first argument of type 'ReadOnlyCollection<WindowsElement>' could be found (are you missing a using directive or an assembly reference?)

my code is:

var EQ = DesktopSession.FindElementByName(@"C:\Users");   
   
var EQWindowHandle = EQ.GetAttribute("NativeWindowHandle"); 
 
EQWindowHandle = (int.Parse(EQWindowHandle)).ToString("x"); 

 