title: Selenium - Robot Framework - Python - Page Should Not Contain Element not working
body: <p>I am creating a new script where a setting is changed and then saved.  Once the save button is selected, the screen masks itself and a Please Wait... message displays in the bottom right hand corner of the page.  I want my script to wait for this message to no longer display and then logout.  The current behavior I'm seeing is that the scripts goes ahead and selects the logout button while the wait message is displayed.</p>
  
  <p>I am using RIDE to edit my script and it looks like this:</p>
  
  <pre><code>Click Element   id=save
  Wait Until Keyword Succeeds 30 sec  1 sec   Page should not contain element xpath=//*[text()='Please wait…']
  ${Status}   Run Keyword and return status   Page Should Not Contain Element xpath=//*[text()='Please wait…']
  Run Keyword If  ${Status}=="True"   Click Element   id=logout
  </code></pre>
  
  <p>This test case runs successfully with no errors.  It just isn't waiting for the page to finish updating and the new setting to be saved.</p>