Clicking the Nth Link and Link Verifications

Discover what you can do with hyperlinks, and try it out yourself.

Click the Nth link with same label

It is not uncommon to have more than one link present on a web page with the exact same text. By default, Selenium will choose the first one. So what if we want to click on the second one, the third one, or the nthn^{th} ? What would be the workaround?

Get hands-on with 1200+ tech skills courses.