Say I have these elements on my web page.
<a href="/dynamic1">One</a>
<a href="/dynamic2">Two</a>
<a href="/dynamic3">Three</a>
I want to click on the link with text Two
. How to identify or click that element using the Link Text without any unique attributes like id or class.
In .Net I can use driver.findElement(By.linkText("Images")).click();
. What is the equivalent in nightwatch.js