@@ -36,7 +36,7 @@ The easiest way to keep your suite updated is to use `Composer <http://getcompos
3636
3737 .. code-block :: bash
3838
39- $ composer require --dev behat/mink-extension
39+ $ composer require --dev friends-of- behat/mink-extension
4040
4141 2. Activate the extension by specifying its class in your ``behat.yml ``:
4242
@@ -50,7 +50,7 @@ The easiest way to keep your suite updated is to use `Composer <http://getcompos
5050 base_url : ' http://example.com'
5151 sessions :
5252 default :
53- goutte : ~
53+ browserkit_http : ~
5454
5555 Usage
5656-----
@@ -143,7 +143,7 @@ will need to choose the driver you want to use.
143143 first_session :
144144 selenium2 : ~
145145 second_session :
146- goutte : ~
146+ browserkit_http : ~
147147 third_session :
148148 selenium2 : ~
149149
@@ -171,16 +171,16 @@ session using a javascript driver in the order of the configuration (it would
171171be ``first_session `` in the example above as ``selenium2 `` supports Javascript).
172172If it is not configured explicitly, the default session is set to the first
173173session using a non-javascript driver if any, or to the first javascript session
174- otherwise (it would be ``second_session `` above as ``goutte `` does not support
174+ otherwise (it would be ``second_session `` above as ``browserkit_http `` does not support
175175javascript).
176176
177177Drivers
178178~~~~~~~
179179
180180First of all, there are drivers enabling configuration. MinkExtension comes
181- with support for 7 drivers out of the box:
181+ with support for different drivers.
182182
183- * ``GoutteDriver `` - headless driver without JavaScript support. In order to use
183+ * ``BrowserKitDriver `` - headless driver without JavaScript support. In order to use
184184 it, modify your ``behat.yml `` profile:
185185
186186 .. code-block :: yaml
@@ -190,38 +190,7 @@ with support for 7 drivers out of the box:
190190 Behat\MinkExtension :
191191 sessions :
192192 my_session :
193- goutte : ~
194-
195- .. Tips : HTTPS and self-signed certificate
196- If you use Behat/Mink/Goutte to test your application, and want to test an
197- application secured with HTTPS, but with a self-signed certificate, you can use
198- the following parameters to avoid the validation error triggered by Guzzle:
199-
200- * For ``Guzzle 4 `` or later:
201-
202- .. code-block :: yaml
203-
204- default :
205- extensions :
206- Behat\MinkExtension :
207- sessions :
208- my_session :
209- goutte :
210- guzzle_parameters :
211- verify : false
212-
213- * For ``Guzzle 3 `` or earlier:
214-
215- .. code-block :: yaml
216-
217- default :
218- extensions :
219- Behat\MinkExtension :
220- sessions :
221- my_session :
222- goutte :
223- guzzle_parameters :
224- ssl.certificate_authority : false
193+ browserkit_http : ~
225194
226195 * ``Selenium2Driver `` - javascript driver. In order to use it, modify your
227196 ``behat.yml `` profile:
@@ -301,12 +270,9 @@ with support for 7 drivers out of the box:
301270
302271 .. note ::
303272
304- The phar version of Mink comes bundled with all 5 drivers and you don't need to do
305- anything except enabling them in order to use them.
273+ You need to install drivers that you need through Composer:
306274
307- But if you're using Composer, you need to install drivers that you need first:
308-
309- - GoutteDriver - ``behat/mink-goutte-driver ``
275+ - BrowserKitDriver - ``behat/mink-browserkit-driver ``
310276 - SeleniumDriver - ``behat/mink-selenium-driver ``
311277 - Selenium2Driver (also used for SauceLabs and BrowserStack) - ``behat/mink-selenium2-driver ``
312278 - SahiDriver - ``behat/mink-sahi-driver ``
0 commit comments