Tuesday, 8 April 2014

Finding the link inside Anchor, not with in the span (Using LinkTExt) using selenium webdriver


We can directly use the linkText() for finding the link inside <A> tag.


WebElement elementt5= driver1.findElement(By.linkText(identify));

No comments:

Post a Comment