title: Selenium CSS Locator special character @
body: <p>I just wanted to know what does the special character @ means in the selenium CSS locator.</p>
  
  <p>For example, for the HTML</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;select id="ms1" multiple="multiple"&gt;
      &lt;option id="oa"&gt;
       OptionA
      &lt;/option&gt;
      &lt;option id="ob" selected="selected"&gt;
       OptionB
      &lt;/option&gt;
      &lt;option id="oc"&gt;
       OptionD
      &lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I get the following element presence results with different CSS locators-</p>
  
  <pre class="lang-py prettyprint-override"><code># s1 is selenium object
  &gt;&gt;&gt; s1.is_element_present('css=select[multiple="multiple"][id="ms1"]')
  False
  &gt;&gt;&gt; s1.is_element_present('css=select[@multiple="multiple"][id="ms1"]')
  True
  &gt;&gt;&gt; s1.is_element_present('css=select[@multiple="multiple"][@id="ms1"]')
  False
  &gt;&gt;&gt; s1.is_element_present('css=select[multiple="multiple"][@id="ms1"]')
  False
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>Any help please?</p>