title: Selenium IDE: how to popup a dialog and wait for user to click OK
body: <p>Just wonder if we could do something like below when running a selenium scenario, which needs user's interaction to continue. Like wait for him to upload some images..</p>
  
  <ol>
  <li><p>Till the step, the selenium popup a dialog saying: please complete something, then click the OK button to continue.</p></li>
  <li><p>When user finishing the operation on the webpage, then click "OK", then the scenario's transaction is moving forward. Otherwise, stop on that step.</p></li>
  </ol>
  
  <p>For the first bullet, I was thinking of below command:</p>
  
  <p><strong>Command:</strong> </p>
  
  <pre><code>waitForConfirmation
  </code></pre>
  
  <p><strong>Target:</strong> </p>
  
  <pre><code>javascript{confirm("Please upload the images, then click OK to continue")}
  </code></pre>
  
  <p>Thanks in advance!</p>