title: Xpath selector not working in IE but working fine in Chrome and Firefox
body: <p>I am using following xpath to click on element using JSExecutor in Selenium webdriver. This works fine in Firefox and chrome but does not work in IE.</p>
  
  <p>Any idea to make this work? After lot of trial and error I have made this work in FF and chrome and have come up with the following XPath.</p>
  
  <pre><code>//*[contains(@class,'ui-select-choices-row') or contains(@id,'ui-select-choices-row')]//*[text()='TextofMyElementToBeclicked'
  </code></pre>
  
  <p>Additional info: This is a Jquery drop down on an angularJS application. When the user clicks on the drop down //ul is loaded and i am using the above xpath (which is part of //ul) to select the element based on text (using Javascript executor click). I used JS executor because, click() function in selenium simply could not click on the drop down element.</p>
  
  <p>I am clicking element using below.</p>
  
  <pre><code>WebElement element = driver.findElement(By.xpath("YourNumbersXpath"));
  JavascriptExecutor executor = (JavascriptExecutor)driver;
  executor.executeScript("arguments[0].click();", element);
      enter code here
  </code></pre>