From 807f300b9e362266aa2b3141ddf67c230aa9ad2f Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 1 Dec 2021 11:56:01 +0800 Subject: [PATCH] [behat] Force set marionette capability to true This works around https://github.com/Behat/MinkExtension/issues/376. --- runner/master/config.template.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runner/master/config.template.php b/runner/master/config.template.php index f96fd2c..a6b2d36 100644 --- a/runner/master/config.template.php +++ b/runner/master/config.template.php @@ -193,6 +193,9 @@ public static function configure_profiles_for_browser(string $browser, string $r // Set the default profile to use the first selenium URL only. $profile['wd_host'] = getenv('SELENIUMURL_1') . '/wd/hub'; + // Work around for https://github.com/Behat/MinkExtension/issues/376. + $profile['capabilities']['marionette'] = true; + $CFG->behat_profiles = []; $CFG->behat_profiles[$browser] = $profile;