title: How to wait for progress bar using Web Driver in java
body: <p>Action:
  if i click any link , progress bar was displayed once page loaded completely then that progress bar was hided</p>
  
  <p>Doubts:
  we want to automate the above action, how can i check the progress action complete or not</p>
  
  <p>below are the html code</p>
  
  <p>once i click the link html looks like this</p>
  
  <pre><code>&lt;div id ="divProgress" class="progresswindow" style="display: block;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>then page loading completed html looks like this</p>
  
  <pre><code>&lt;div id ="divProgress" class="progresswindow" style="display: none;"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>so how can i check this progress bar completed or not, currently i'm using Thread.sleep(), but some time web driver raise the exception</p>
  
  <pre><code>Other element would receive the click: &lt;div id="divProgress" class="progresswindow" style="display: block;"&gt;...&lt;/div&gt;
  </code></pre>
  
  <p>Please provide an suggestion how this handle with Explicit wait</p>