Struggling to install mink and behat using composer for use with symfony2
You need to use "behat/mink": "dev-master"
or "behat/mink": "1.5"
which is compliant with the lastest version of symfony/css-selector.
Ah, this is again the problem for Symfony 4.2:
Problem 1
- behat/mink-extension 2.3.0 requires behat/mink ^1.5 -> satisfiable by behat/mink[v1.5.0, v1.6.0, v1.6.1, v1.7.0, v1.7.1].
- behat/mink-extension 2.3.1 requires behat/mink ^1.5 -> satisfiable by behat/mink[v1.5.0, v1.6.0, v1.6.1, v1.7.0, v1.7.1].
- behat/mink v1.7.1 requires symfony/css-selector ~2.1|~3.0 -> no matching package found.
- behat/mink v1.7.0 requires symfony/css-selector ~2.1 -> no matching package found.
- behat/mink v1.6.1 requires symfony/css-selector ~2.0 -> no matching package found.
- behat/mink v1.6.0 requires symfony/css-selector ~2.0 -> no matching package found.
- behat/mink v1.5.0 requires symfony/css-selector ~2.0 -> no matching package found.
- Installation request for behat/mink-extension ^2.3 -> satisfiable by behat/mink-extension[2.3.0, 2.3.1].
And the solution is the same, one needs to use behat/mink:dev-master
.
For example:
$ composer require --dev behat/behat
$ composer require --dev behat/mink:dev-master
$ composer require --dev behat/mink-extension
$ composer require --dev behat/mink-goutte-driver