Skip to content

Commit

Permalink
Enable marionette by default
Browse files Browse the repository at this point in the history
This works around Behat/MinkExtension#376.
  • Loading branch information
andrewnicols committed Dec 1, 2021
1 parent ee1ab12 commit 0464ab3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ProfileManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit 0464ab3

Please sign in to comment.