Closed dbykadorov closed 12 years ago
apply the patch from Behat/Mink#201
then run vendor/behat/mink/bin/install_deps
@robocoder Thanks, I'll try it today
@robocoder
What am I missing in this process or do not right (My Symfony have 2.0.11 version now)?
@dbykadorov you autoload file needs to load the autoloading generated by Composer for the vendors it installed, or you need to register it manually in your own autoload file
@stof simply require vendor/behat/mink/vendor/.composer/autoload.php?
Anyway now I can install all deps via my deps file.
Its working ) Thank you all!
So this can be closed?
In an sf2 project, we would register the namespace or prefix in app/autoload.php, e.g.,
$loader->registerPrefixes(array(
...
'WebDriver' => __DIR__.'/../vendor/facebook/php-webdriver',
...
));
@robocoder I've just required composer autoloader in app/autoloader.php
require_once __DIR__. '/../vendor/behat/mink/vendor/.composer/autoload.php';
And you can close this issue. Thanks! )
Config:
Container source near line 334:
Where I can get \Selenium\Client? I don't see this in the docs.