title: Selenium + facebook php-webdriver: Unable to create new service: ChromeDriverService
body: <p>I'm trying to set up Selenium with the facebook php-webdriver. This is what I've done:</p>
  
  <ul>
  <li>Ran composer require facebook/webdriver to install the package</li>
  <li>Started the selenium server on port 4444 (default)</li>
  <li>Downloaded the latest 32-bit chromedriver from <a href="https://chromedriver.storage.googleapis.com/index.html?path=2.37/" rel="nofollow noreferrer">enter link description here</a> (No separate 64bit available)</li>
  <li>Copied the chromedriver.exe to the project folder (don't know if this is necessary)</li>
  <li>Stated chromedriver. It runs on port 9515 by default.</li>
  <li>Ran the script to open a browser window in chrome.</li>
  </ul>
  
  <p>In my script below, I get an error on the third line</p>
  
  <pre><code>$host = 'http://localhost:4444/wd/hub'; // this is the default
  $capabilities = DesiredCapabilities::chrome();
  $driver = RemoteWebDriver::create($host, $capabilities);
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>Fatal error: Uncaught Facebook\WebDriver\Exception\SessionNotCreatedException: Unable to create new service: ChromeDriverService Build info: version: '3.11.0', revision: 'e59cfb3', time: '2018-03-11T20:33:15.31Z' System info: host: 'WINCOM', ip: '192.168.0.10', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '9.0.1' Driver info: driver.version: unknown in C:\xampp\htdocs\xampp\testnew\vendor\facebook\webdriver\lib\Exception\WebDriverException.php:154 Stack trace: #0 C:\xampp\htdocs\xampp\testnew\vendor\facebook\webdriver\lib\Remote\HttpCommandExecutor.php(320): Facebook\WebDriver\Exception\WebDriverException::throwException(33, 'Unable to creat...', Array) #1 C:\xampp\htdocs\xampp\testnew\vendor\facebook\webdriver\lib\Remote\RemoteWebDriver.php(126): Facebook\WebDriver\Remote\HttpCommandExecutor-&gt;execute(Object(Facebook\WebDriver\Remote\WebDriverCommand)) #2 C:\xampp\htdocs\xampp\testnew\test.php(11): Facebook\WebDriver\Remote\RemoteWebDriver::create('http://localhos...', Object(Facebook\WebDriver in C:\xampp\htdocs\xampp\testnew\vendor\facebook\webdriver\lib\Exception\WebDriverException.php on line 154
  </code></pre>
  
  <p>In the Selenium terminal, I see this message:</p>
  
  <pre><code>14:18:08.607 INFO [ActiveSessionFactory.lambda$apply$11] - Matched factory org.openqa.selenium.remote.server.ServicedSession$Factory (provider:org.openqa.selenium.chrome.ChromeDriverService)
  </code></pre>
  
  <p>Can anyone direct me on how to solve this. I've looked everywhere, but nothing seems to work.</p>
  
  <p>Thanks</p>