title: How to make Selenium wait until executed process returns
body: <p>Using Selenium I execute an AutoIt script that opens Microsoft Word documents to compare them. Finally it saves the documents.</p>
  
  <p>The Selenium script does not wait until the AutoIt executable is finished. How can I make Selenium script do this?</p>