title: protractor :how to select an element using xpath
body: <p>i have this HTML 
  <a href="http://i.stack.imgur.com/ZkQMQ.png" rel="nofollow">Html</a></p>
  
  <pre><code>&lt;span aria-controls="APInvoicePaymentTerms_listbox"&gt;
  </code></pre>
  
  <p>and i'm trying to click on this element using this code :</p>
  
  <pre><code>           element(By.xpath('//span[@aria-controls="APInvoicePaymentTerms_listbox]')).click();
  </code></pre>
  
  <p>and i got this error </p>
  
  <pre><code>Failed: No element found using locator: By(css selector, APInvoiceCompany_listbox)
  </code></pre>