title: Handling xpath with different text in page factory
body: <p>I have an xpath where text may have multiple options, about 8-10.</p>
  
  <ol>
  <li><p><code>//name[contains(text(),'abc')]"</code></p></li>
  <li><p><code>//name[contains(text(),'xyz')]"</code></p></li>
  </ol>
  
  <p>Conventionally I am using xpath like this:</p>
  
  <pre><code>driver.findElement(By.xpath("//text[contains(text(),'"+variable+ "')]")).click();
  </code></pre>
  
  <p>Is there a way I can achieve this in Page Factory?</p>
  
  <p>In page factory, we have <code>@FindBy</code> annotation, which take inputs like this:</p>
  
  <pre><code>@FindBy(xpath="//div[contains(text(), 'static text')]").
  </code></pre>
  
  <p>I am just trying to figure out how to make this dynamic.</p>
  
  <p>Please let me know how can I find this using page factory.</p>