title: Wait until specific value appears in selenium excel vba
body: <p>I have an element with this html</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;span id="ContentPlaceHolder1_Label2" designtimedragdrop="1319" style="display:inline-block;color:Firebrick;font-size:Medium;font-weight:bold;width:510px;"&gt;&lt;/span&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>and after clicking Save button on the page this part changes to that</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;span id="ContentPlaceHolder1_Label2" designtimedragdrop="1319" style="display:inline-block;color:Firebrick;font-size:Medium;font-weight:bold;width:510px;"&gt;تم حفظ التعديل بنجاح&lt;/span&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>You would notice this value <code>تم حفظ التعديل بنجاح</code> .. 
  After that I should click another button but the problem appears when the internet connection is slow. I got the other button clicked before saving
  How can I wait for the appearance of the value <code>تم حفظ التعديل بنجاح</code> and then after the appearance of that text >> move to the another button</p>
  
  <p>Thanks advanced for help</p>