I\'m trying to locate a link using Selenium Webdriver. I don\'t wanna locate it by link text, only the actual link which is typed in . This can be done by using Selenium\'s find
You can also use contains if you don't know what the href starts with:
Link
To find this link, you could use:
By.xpath("//a[contains(@href, 'key_word')]"));