I am trying to use Seleno (and therefore Selenium) to do some UI testing in my project.
In my rendered page is the following link
<div class="col-md-10">
<a class="btn btn-md btn-default btn-success col-md-4 col-sm-5 col-xs-12" href="XXXXXX" id="btnInternal">Secured User</a>
</div>
However, when I call
var userLink = By.PartialLinkText("Secured User");
return Navigate.To<UserDashboard>(userLink);
it does not work (I started with By.LinkText, and that didn't work, so I thought PartialLinkText might be more forgiving)
In either case, I end up with the NoSuchElementException
I can't use the CSS or other selectors AFAIK, because there are many other links on the page using the same styling.