for loop “index was out of range” c# webdriver

后端 未结 5 662
一生所求
一生所求 2021-01-16 07:08

I am getting \"index out of range\" from this loop. But I need to use new elements that loop founds, how do I do that? Please help to fix the problem

int lin         


        
5条回答
  •  天涯浪人
    2021-01-16 07:34

    First of all i dont see a point in assigning linkstoclick values inside loop... And Reason for error must be that linksToClick list's length is more than that of linkCount.

提交回复
热议问题