title: Selenium @FindBy linkText or @FindBy partialLinkText not working
body: <p>I'm working for automation, I'm trying to click on an element ,this element has no id, classname so I'm using the xpath. To improve my code I would like to find this element by href, so I'm using:</p>
  
  <pre><code>@FindBy(linkText="Transfer")
  WebElement transferBtn;
  </code></pre>
  
  <p>I also tried with:</p>
  
  <pre><code>@FindBy(partialLinkText="Transfer")
  WebElement transferBtn;
  </code></pre>
  
  <p>But my code doesn't find the webElement, it's working for other href but not all. I think the problem is developer tools, i'll show you the element:</p>
  
  <pre><code>&lt;a href="#"&gt;My transfer&lt;/a&gt;
  </code></pre>
  
  <p>Do you have any idea of the problem, why it's not working?
  Thanks.</p>