title: Protractor: How do I click on an element using the href substring or span substring?
body: <p>The following lines is information of the element I want to be able to click on using protractor.</p>
  
  <pre><code>    &lt;hsx-nav-menu-group hsx-html-element&gt; == $0
        &lt;hsx-nav-menu-info&gt;
          &lt;i hsx-html-element hsx-icon&gt;
            &lt;svg&gt;
              &lt;use xlink:href="#icon-so"&gt;&lt;/use&gt;
            &lt;/svg&gt;
          &lt;/i&gt;
          &lt;span&gt;Service Orders&lt;/span&gt;
        &lt;/hsx-nav-menu-info&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>I have been able to click on it via the xpath but I wanted to locate and click the element preferably with the href substring or the span subtring.</p>