title: Installing and using Mink with Browserkit driver
body: <p>I seem to be unable to install Mink with Browserkit driver on Centos. 
  I am using these instructions: <a href="https://github.com/minkphp/MinkBrowserKitDriver" rel="nofollow">https://github.com/minkphp/MinkBrowserKitDriver</a></p>
  
  <p>The steps I am taking is by:</p>
  
  <ol>
  <li><p>adding a file in my project directory with the name composer.json and the contents:</p>
  
  <p>{
      "require": {
          "behat/mink":                   "~1.5",
          "behat/mink-browserkit-driver": "~1.1"
      }
  }</p></li>
  <li><p>Use the commands as below. </p></li>
  </ol>
  
  <blockquote>
    <p>$> curl -sS <a href="https://getcomposer.org/installer" rel="nofollow">https://getcomposer.org/installer</a> | php</p>
    
    <p>$> php composer.phar install</p>
  </blockquote>
  
  <ol start="3">
  <li>Now there are 3 files (composer.json, composer.lock, composer.phar) and one folder (vendor) in the project directory. Where do I run the "Usage example" code from (as on the documentation)?</li>
  </ol>
  
  <p>I have tried adding require_once "vendor/autoload.php"; to my test.php file:</p>
  
  <pre><code>&lt;?php
  require_once "vendor/autoload.php";
  use Behat\Mink\Mink,
      Behat\Mink\Session,
      Behat\Mink\Driver\BrowserKitDriver;
  
  use Symfony\Component\HttpKernel\Client;
  
  $app  = require_once(__DIR__.'/app.php'); // Silex app
  
  $mink = new Mink(array(
      'silex' =&gt; new Session(new BrowserKitDriver(new Client($app))),
  ));
  
  $mink-&gt;getSession('silex')-&gt;getPage()-&gt;findLink('Chat')-&gt;click();
  </code></pre>
  
  <p>but getting a fatal error that app.php cannot be opened. I have also tried adding the following to test.php:</p>
  
  <pre><code>require_once 'vendor/behat/mink-browserkit-driver/tests/app.php';
  </code></pre>
  
  <p>Any help would be appreciated :)</p>