diff --git a/composer.json b/composer.json
index 9806f221..d54d8e0b 100644
--- a/composer.json
+++ b/composer.json
@@ -15,11 +15,12 @@
"require": {
"php": ">=5.3.2",
"behat/behat": "~2.5.0",
- "behat/mink": ">=1.4.3,<1.6-dev",
+ "behat/mink": "~1.5",
"symfony/config": "~2.2"
},
"require-dev": {
+ "fabpot/goutte": "~1.0",
"behat/mink-goutte-driver": "~1.0"
},
diff --git a/i18n/nl.xliff b/i18n/nl.xliff
index 0719f300..7a414818 100644
--- a/i18n/nl.xliff
+++ b/i18n/nl.xliff
@@ -42,6 +42,10 @@
(?:[^"]|\\")*)" invul met "(?P(?:[^"]|\\")*)"$/]]>
+
+
+ (?:[^"]|\\")*)" invul met:$/]]>
+
(?:[^"]|\\")*)" invul in "(?P(?:[^"]|\\")*)"$/]]>
@@ -106,10 +110,22 @@
(?:[^"]|\\")*)" aangevinkt zijn$/]]>
+
+
+ (?:[^"]|\\")*)" (?:is|zou moeten zijn) aangevinkt$/]]>
+
+
+
+ (?:[^"]|\\")*)" niet aangevinkt zijn$/]]>
+
(?:[^"]|\\")*)" niet aangevinkt zijn$/]]>
+
+
+ (?:[^"]|\\")*)" is niet aangevinkt$/]]>
+
[^"]+)" zijn$/]]>
@@ -154,6 +170,10 @@
\d+) zijn$/]]>
+
+
+
+
diff --git a/src/Behat/MinkExtension/Extension.php b/src/Behat/MinkExtension/Extension.php
index 8e8c3a54..9ff68034 100644
--- a/src/Behat/MinkExtension/Extension.php
+++ b/src/Behat/MinkExtension/Extension.php
@@ -53,6 +53,13 @@ public function load(array $config, ContainerBuilder $container)
);
}
+ $refl = new \ReflectionParameter(array('Goutte\Client', 'setClient'), 0);
+ if (!$refl->getClass() || 'Guzzle\Http\ClientInterface' !== $refl->getClass()->getName()) {
+ throw new \RuntimeException(
+ 'MinkExtension 1.3 only supports Goutte 1.x for MinkGoutteDriver, not Goutte 2.x.'
+ );
+ }
+
$loader->load('sessions/goutte.xml');
}
if (isset($config['sahi'])) {
@@ -327,6 +334,10 @@ public function getConfig(ArrayNodeDefinition $builder)
scalarNode('ftpProxy')->end()->
scalarNode('httpProxy')->end()->
scalarNode('sslProxy')->end()->
+ scalarNode('socksProxy')->end()->
+ scalarNode('socksUsername')->end()->
+ scalarNode('socksPassword')->end()->
+ scalarNode('noProxy')->end()->
end()->
validate()->
ifTrue(function ($v) {