title: Is there a way to click an element using Partial text or complete Text using Appium
body: <p>I am trying to click an element with text "No, Thanks" using below code, I tried various options so far such as </p>
  
  <pre><code>driver.findElementByXPath("//*[contains(text(),'THANKS')]").click();
  
   driver.findElement(By.name("No,THANKS")).click();
   driver.findElementByName("No,THANKS").click();
  </code></pre>
  
  <p>There is no other element with same text. I am using Appium Driver and Samsung device. </p>