title: Selenium Webdrive (Java) - find an element where attribute is disabled=""
body: <p>I have <code>&lt;input id="test" disabled=""&gt;</code>. How can I find this element with an attribute disabled="".</p>
  
  <p>P.S I don't need to use id in this case. I want to find an element with the disabled attribute.</p>
  
  <p>I've tried to use </p>
  
  <pre><code>String enbl = Login.driver.findElement(By.cssSelector("input#test")).getAttribute("disabled=''");
  </code></pre>
  
  <p>But I've got the null result</p>