From 0464ab33eed6b1f3aa247f3ed849e27493ae2a72 Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Wed, 1 Dec 2021 13:59:22 +0800 Subject: [PATCH] Enable marionette by default This works around https://github.com/Behat/MinkExtension/issues/376. --- src/ProfileManager.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ProfileManager.php b/src/ProfileManager.php index 8aaa4c9..c6b44c2 100644 --- a/src/ProfileManager.php +++ b/src/ProfileManager.php @@ -516,6 +516,9 @@ public static function getBrowserProfile( 'profile' => $profile, ] = self::processBrowserstackOptions($profile, $capabilities, $w3c); + // Work around for https://github.com/Behat/MinkExtension/issues/376. + $profile['capabilities']['marionette'] = true; + if (array_key_exists('capabilities', $capabilities)) { $profile['capabilities']['extra_capabilities'] = array_merge_recursive( $profile['capabilities']['extra_capabilities'],