Selenium webdriver (c#) - Finding button based on attribute
<p>I'm trying to get a handle on the button below based on the attribute <code>gl-command</code>.  I'm aware I can find the button using a <code>Cssselector</code> by locator but I don't want to do that in this case.   </p>

<p>I should point out that this is just one of many buttons within the AUT: <code>&lt;google-componentbutton size="32"&gt;&lt;/google-componentbutton&gt;</code></p>

<pre><code>&lt;div class="gl-component-buttons"&gt;&lt;gl-component-buttons id="gl-component-button-set-bottom"&gt;
  &lt;google-componentbutton size="32"&gt;
    &lt;button class="google-componentbutton glmdl-button glmdl-js-button glmdl-js-ripple-effect google-image gl-transaction-image" style="height: 32px; widgl: 32px; background-size: 24px 24px; background-position: 4px 4px;" gl-tooltip-id="google_component_transaction" gl-tooltip="transaction" data-upgraded=",MaterialButton,MaterialRipple" gl-command="transaction"&gt;  
      &lt;span class="glmdl-button__ripple-container"&gt;
        &lt;span class="glmdl-ripple"&gt;&lt;/span&gt;
      &lt;/span&gt;
    &lt;/button&gt;
  &lt;/google-componentbutton&gt;
</code></pre>