I need to get the last element in loop as this is the selector i need to click. Currentyly I got 2 loops - first counts the selectors and second - counts it again and if counter is equal to first counter, then click. This logic works however I don’t like it visualy as it is repeating the same loop I was wondering if there is another way, more elegant? I’’ve heared about Count(). Might be a solution to run the Count() first and then compare it with counter?