How to locate an element with multiple attributes using Ext.componentQuery.query in extjs
<p>I want to know if can we use multiple attributes in componentquery in <code>extjs</code> to locate an element?</p>

<p>Like the below query searches the button with name as <code>mybutton</code>. Can we add more attributes like class and text in the same query ?</p>

<pre><code>Ext.ComponentQuery.query('button[b-name="mybutton"]')
</code></pre>