I am assigning whatever is returned by FindElementsByClassName() method to a var.
Ex: var ele1 = appWindowSession.FindElementByClassName("").FindElementByName("")
At this point ele1 has a count of 3 objects.
I know I can access each object from ele1 by using a foreach loop.
But I was wondering if there is any shortcut to access say the third object in ele1.
I am assigning whatever is returned by FindElementsByClassName() method to a var. Ex: var ele1 = appWindowSession.FindElementByClassName("").FindElementByName("")
At this point ele1 has a count of 3 objects.
I know I can access each object from ele1 by using a foreach loop.
But I was wondering if there is any shortcut to access say the third object in ele1.