Click all a tags in ul li in html problem

It sounds like the first click modified the list. If the click causes the list to change then you may need to refresh your test objects because they no longer represent the elements they once did.

Please provide more info - follow this advice: