Selenium click on link

后端 未结 3 1925
忘掉有多难
忘掉有多难 2021-01-18 10:28

I\'m using Selenium\'s IDE in FireFox to do some testing, and I want Selenium to click the second link (Text2). Any idea how I do that? Unfortunately I don\'t have access to

3条回答
  •  长情又很酷
    2021-01-18 10:58

    You Can Try

    //a[contains(text(),'text2')]     OR  //span/a[contains(text(),'text2')]
    


    Looking for same or anything else?

提交回复
热议问题