Codeception/Codeception — pull request #589 by vkn (2013-10-03 15:46:44+00:00)
Title: fix seeSookie cannot see cookie with diffrent domains set

\Behat\Mink\Driver\BrowserKitDriver::getCookie does not work well with cookies having domain set:

$I->wantTo('test cookies with multiple domains');
$I->amOnPage('/');
$I->dontSeeCookie('f');
$I->dontSeeCookie('baz', 'bar2');
$I->dontSeeCookie('foo', 'bar1');

//this sets cookie
$I->sendAjaxPostRequest('/cookies');

$I->seeCookie('f'); //cookie has no domain set, this would work
$I->seeCookie('foo', 'bar1'); // this fails, because domain is set
$I->seeCookie('baz', 'bar2');

in this patch we parse cookie headers Mink.php _parseCookieFromHeaders method. To be able to test PhpBrowser module was added to CodeGuy