Skip to content

Commit

Permalink
Respect/prefer user-overriden capabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
uuf6429 committed Aug 6, 2024
1 parent 0876261 commit 4073c2b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ public function buildDriver(array $config): Definition
return new Definition(WebdriverClassicDriver::class, [
$config['browser'],
array_merge(
$config['capabilities'],
$this->guessEnvironmentCapabilities()
$this->guessEnvironmentCapabilities(),
$config['capabilities']
),
$config['wd_host'],
]);
Expand Down

0 comments on commit 4073c2b

Please sign in to comment.