title: Mink doesn't work with behat 3.0.12
body: <p>I installed Behat, Mink and a few other related packages. Here is my composer.json file:</p>
  
  <pre><code>  "require":{
      //...
      "behat/behat": "~3.0.6",
      "behat/symfony2-extension": "dev-master",
      "behat/mink": "dev-master",
      "behat/mink-browserkit-driver": "dev-master",
      "behat/mink-goutte-driver": "dev-master",
      "behat/mink-selenium2-driver": "dev-master",
      "phpunit/php-code-coverage": "dev-master",
      "phpunit/phpunit-mock-objects": "dev-master",
      "phpunit/phpunit": "dev-master"
     }
  </code></pre>
  
  <p>And here is my behat.yml file:</p>
  
  <pre><code>default:
    extensions:
      Behat\Symfony2Extension:
        mink_driver: true
        kernel:
          env: test
          debug: true
      Behat\MinkExtension\Extension:
          base_url: 'http://localhost/app_test.php/'
          #javascript_session: sahi
          browser_name: chrome
          sahi:
          goutte: ~
          selenium2: ~
  paths:
      features: features
      bootstrap: %behat.paths.features%/Context
  </code></pre>
  
  <p>Now when I run behat I get following error:
  <strong>[Behat\Testwork\ServiceContainer\Exception\ExtensionInitializationException]<br>
  <code>Behat\MinkExtension\Extension</code> extension file or class could not be located.</strong> </p>
  
  <p>Does anyone know how to fix this?
  Thanks in advance.</p>
  
  <p><strong>SOLVED:</strong></p>
  
  <p>I simply forgot to add this line:</p>
  
  <pre><code>"require": {
  //...
  "behat/mink-extension": "dev-master",
  //... }
  </code></pre>
  
  <p>and in your behat.yml:
  comment this:</p>
  
  <pre><code># mink_driver: true
  </code></pre>
  
  <p>and change this:</p>
  
  <pre><code>Behat\MinkExtension\Extension:
  </code></pre>
  
  <p>to this:</p>
  
  <pre><code>Behat\MinkExtension:
  </code></pre>