sebastianbergmann/phpunit-selenium — pull request #109 by emaks (2012-03-15 12:07:37+00:00)
Title: small fix for prepareTestSession() function

shareSession did not work

test example:

class test extends PHPUnit_Extensions_SeleniumTestCase
{
protected function setUp()
{
$this->setBrowserUrl("http://google.com");
$this->shareSession($this->prepareTestSession());
}

/**
* @test
*/
public function test1()
{
$this->open('/');
$this->assertSame('Google', $this->getTitle());
}

/**
* @test
*/
public function test2()
{
$this->assertSame('Google', $this->getTitle());
}
}