title: Selenium2Library - Safari not selecting from drop down list
body: <p>I have two drop downs on a page. I need to verify that the item in drop down list 1 has a class of "selected" added to it when the item in drop down list 2 has been selected. Drop down list 1 has more than 3 options in it but I wanted to save space in the post. The first chunk of steps gets the values for all the items in the list and randomly selects one. </p>
  
  <p>The second portion uses the value that was randomly selected in the first few steps to target the option and see check for the selected class to be true. </p>
  
  <p>Here is the HTML:</p>
  
  <pre><code>&lt;ol&gt;
       &lt;li class="select input required" id="message_recipient_input"&gt;
            &lt;select id="message_recipient_id"&gt;
                 &lt;option value&gt;&lt;/option&gt;
                 &lt;option value="1"&gt;Smith, Bob&lt;/option&gt;
                 &lt;option value="2"&gt;Smith, Steve&lt;/option&gt;
                 &lt;option value="3"&gt;Smith, Joe&lt;/option&gt; 
            &lt;/select&gt;
       &lt;/li&gt;
  &lt;/ol&gt;
  
  &lt;ol&gt;
       &lt;li class="select input required" id="message_template_input"&gt;
            &lt;select id="message_template_id"&gt;
                 &lt;option value&gt;&lt;/option&gt;
                 &lt;option value="9"&gt;Message Template&lt;/option&gt;
                 &lt;option value="10"&gt;Survey Template&lt;/option&gt;
                 &lt;option value="11"&gt;Coupon Template&lt;/option&gt; 
            &lt;/select&gt;
       &lt;/li&gt;
  &lt;/ol&gt; 
  </code></pre>
  
  <p>Here are the steps in RF:</p>
  
  <pre><code>${RecipientCount}=      Get Matching Xpath Count        xpath=//*[@id="message_recipient_id"]/option
  Log                     ${RecipientCount}
  @{ValueList}=           Create List
  : FOR       ${INDEX}    IN RANGE       1            ${RecipientCount}
  \       ${recipient_value}=        Get Element Attribute    xpath=//*[@id="message_recipient_id"]/option[contains(text(), '@')] [${INDEX}]@value
  \       Log                        ${recipient_value}
  \       Append To List             ${ValueList}             ${recipient_value}
  Log                     ${ValueList}
  ${recipient}=           Evaluate            random.choice(${ValueList})       random
  Log                     ${recipient}
  Sleep                   2s
  Select From List        id=message_recipient_id       ${recipient}
  Sleep                   2s
  
  ${message_template_dropdown}=   Select From List By Value       id=message_template_id          9
  Sleep                           2s
  ${selected_recipient}=          Get Element Attribute           xpath=//option[@value=${recipient}] @selected
  Log                             ${selected_recipient}
  Should Contain                  ${selected_recipient}           true
  </code></pre>
  
  <p>This works fine in Chrome and Firefox on Mac OS X but Safari isn't selecting any of the items in the lists. The steps pass as if it is selecting them but fails on the "Should Contain" step because ${selected_recipient} has None for the selected class.</p>