Selenium - how to find elements by attribute with any value in Java?
<p>I know this way I can find element by attribute and value:</p>

<pre><code>webDriver.findElements(By.xpath("//element[@someAttribute='someValue']"))
</code></pre>

<p>How can I find all elements that has the attribute <code>someAttribute</code> no matter what the value is?</p>

<p>Thanks</p>