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'],