Skip to content

Commit

Permalink
FIX Remove PHP 7 syntax from W3C mode patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Garion Herman committed Feb 25, 2020
1 parent 19cc9d3 commit a6de73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FacebookFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function buildDriver(array $config)

// PATCH: Disable W3C mode in chromedriver until we have capacity to actively adopt it
$extraCapabilities['chromeOptions'] = array_merge(
$extraCapabilities['chromeOptions'] ?? [],
isset($extraCapabilities['chromeOptions']) ? $extraCapabilities['chromeOptions'] : [],
['w3c' => false]
);

Expand Down

0 comments on commit a6de73b

Please sign in to comment.