Behat/MinkBundle — Issue #24: Class 'Selenium\Client' not found in app\cache\test\appTestDebugProjectContainer.php on line 334
Author: dbykadorov
Created: 2012-02-25 10:17:19+00:00
State: open

Config:

mink:
base_url: http://domain.com/__test.php/
default_session: selenium
selenium: ~

Container source near line 334:

protected function getBehat_MinkService()
{
$a = $this->get('behat.mink.selectors_handler');

$instance = new \Behat\Mink\Mink();

$instance->registerSession('symfony', new \Behat\Mink\Session(new \Behat\MinkBundle\Driver\SymfonyDriver(new \Symfony\Bundle\FrameworkBundle\Client($this->get('kernel'), array(), new \Symfony\Component\BrowserKit\History(), new \Symfony\Component\BrowserKit\CookieJar())), $a));
$instance->registerSession('selenium', new \Behat\Mink\Session(new \Behat\Mink\Driver\SeleniumDriver('*firefox', 'http://guru-dev.com/__test.php/', new \Selenium\Client('127.0.0.1', 4444)), $a));
$instance->setDefaultSessionName('selenium');

return $instance;
}

Where I can get \Selenium\Client? I don't see this in the docs.