title: Selenium Grid Headless Parallel
body: <p>I am using Selenium grid to scrape thousands of pages since all the pages are heavily populated by Javascript. </p>
  
  <p>I found this <a href="http://www.tutorialspoint.com/selenium/selenium_grids.htm" rel="nofollow">tutorial</a> which gave me a pretty good idea of how to set up Selenium grid and run script in parallel. However, my situation is a little different. </p>
  
  <p>(1) I only want one type of browser, like Chrome(or Firefox), but I want to run as many as possible. </p>
  
  <p>(2) To make sure this solution scale, I probably will use some Cloud service where the code will be running in Linux environment. </p>
  
  <p>So here is my question: </p>
  
  <p>Do I have to use TestNG/Junit frame work to run the code in parallel? If I run the code in multiple processes, all making requests to the same hub, will the hub coordinate them out of box? </p>