title: How to start multiple webdriver instances in Python
body: <p>I have to automate multiple webpages using Selenium. The preferred method is - WebDriver with Python on Windows. Since there number of webpages to test is very very large, I am trying to figure out if I can make this process parallel. E.g. From command line, I execute</p>
  
  <pre><code>python script1.py
  </code></pre>
  
  <p>Say I have 100 such scripts and I want to execute them in batches of 5 each. Also one requirement is that is 1 out of 5 scripts completes, then the master starts 6th script to always keep 5 scripts in parallel.</p>
  
  <p>I have searched in docs and some forums. But I could not find any help with this. I have done similar thing in the past, but that involved firing multiple browsers actually from code, so kind of different. This involves Python and Webdriver.
  Any help is appreciated.</p>
  
  <p>Thanks and Regards.</p>