Permalink
Browse files

fixed example in readme

  • Loading branch information...
1 parent 970feb6 commit 96f75cb9dee710a868b3efd493e82a32e3c3430b @everzet everzet committed May 20, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 README.md
View
7 README.md
@@ -16,15 +16,16 @@ Usage Example
use Behat\Mink\Mink,
Behat\Mink\Session,
Behat\Mink\Driver\GoutteDriver,
+ Behat\Mink\Driver\Goutte\Client as GoutteClient,
Behat\Mink\Driver\SahiDriver;
$startUrl = 'http://example.com';
// init Mink and register sessions
$mink = new Mink(array(
- 'goutte1' => new Session(new GoutteDriver($startUrl)),
- 'goutte2' => new Session(new GoutteDriver($startUrl)),
- 'javascript' => new Session(new SahiDriver($startUrl, 'firefox')),
+ 'goutte1' => new Session(new GoutteDriver(GoutteClient($startUrl))),
+ 'goutte2' => new Session(new GoutteDriver(GoutteClient($startUrl))),
+ 'javascript' => new Session(new SahiDriver('firefox')),
'custom' => new Session(new MyCustomDriver($startUrl))
));

0 comments on commit 96f75cb

Please sign in to comment.