Recommended way to locate parent element in Protractor : <p>According to the newly published <a href="https://github.com/angular/protractor/blob/master/docs/style-guide.md#never-use-xpath">Style Guide</a>, <em>using the <code>by.xpath()</code> locators is considered a bad practice</em>. I'm actually trying to follow the suggestion, but stuck on getting a parent element.</p>

<p>Currently we are using <code>..</code> XPath expression to get to the element's parent:</p>

<pre><code>this.dashboard = element(by.linkText("Dashboard")).element(by.xpath("..")); 
</code></pre>

<p>How can I locate the element's parent using <em>other</em> built into Protractor/WebDriverJS locators?</p>
