title: Apache does not show the browser
body: <p>I'm running Selenium-Python tests on a website.</p>
  
  <p>The goal:
  Handling multiple users sending the requests to the server app, i.e. the users' requests would be all processed (none dropped); it is not critical to process them concurrently.
  The 'simple server' can't do this.
  Apache should (sure, it is overkill), but I cannot figure out how to set it up - the Chrome browser starts but it never comes up (neither does FireFox).</p>
  
  <p>The basic test setup:</p>
  
  <ul>
  <li>Browser (client) sends ajax request to the test machine</li>
  <li>The test machine (must be) Windows (Win10 currently; will move to Winserver2008)</li>
  <li>The test machine runs the server app, Selenium (webdriver), and the browser (test)</li>
  <li>The server app receives the ajax call, and launches python app</li>
  <li>The python app launches webdriver</li>
  <li>webdriver starts and displays the browser (test)</li>
  </ul>
  
  <p>This all works for a single user when I use a simple server app based on CGIHTTPRequestHandler.</p>
  
  <p>If Apache is used:</p>
  
  <ol>
  <li>Apache replies to the ajax request</li>
  <li>Apache starts the python app</li>
  <li>The python starts the webdriver - I get the PID, it is in the TaskManager, it takes up one core for minutes, before it exits</li>
  <li>The browser (Chrome) starts - I see it in the TaskManager</li>
  <li>but the browser does not come up</li>
  </ol>
  
  <p>Environment:</p>
  
  <ul>
  <li>Win10 64-bit</li>
  <li>Python 3.5 (Anaconda)</li>
  <li>Selenium 3.4.3</li>
  <li>Chrome 59</li>
  <li>ChromeDriver 2.30</li>
  <li>Apache 2.4</li>
  <li>the url is the standard Apache page "<a href="http://localhost/index.html" rel="nofollow noreferrer">http://localhost/index.html</a>"</li>
  </ul>
  
  <p>What I tried:</p>
  
  <ul>
  <li>Apache listens on its own port: </li>
  </ul>
  
  <blockquote>
    <p>Listen 127.0.0.1:1909</p>
  </blockquote>
  
  <p>(the simple server listens on 1908)</p>
  
  <ul>
  <li>all Chrome instance were shut down before triggering the webdriver</li>
  <li>Chrome uses a separate test-profile; the python call is like this:</li>
  </ul>
  
  <blockquote>
    <p>driver = webdriver.Chrome(
           executable_path="C:\WebDriver\chromedriver.exe",
           service_args=[
           "--user-data-dir=C:\Apache24\Google\Chrome\AutomationProfile",
           "--verbose",
           "--log-path=C:\WebDriver\logs\qc.log"])</p>
  </blockquote>
  
  <p>but a directory, like "scoped_dir13752_2712", is always created in \Windows - is that an issue?</p>
  
  <ul>
  <li>comparing the webDriver logs (each ~1K lines) from 'simple server' (Chrome opens) and Apache (Chrome does not come up), nothing jumps out</li>
   - 
  </ul>
  
  <p>What am I missing?</p>
  
  <p>Thank you!</p>