I am using Selenium and attempting to locate an element (table cell in a web app) by xpath. However, I am getting a NoSuchElementException when running my test cases.
I am positive that the xpath locator is correct, as I can paste it into my DOM and locate the element that way (it is also unique). I have also confirmed that the element is not in a different frame. Here is what my WebElement declaration looks like:
@FindBy(xpath = "//td[text()='info']//parent::tr//td")
What possible reasons could there be for this error?