MDL-68525 behat: chrome/switches caps not allowed in Chrome > 81
commit38f595a0dfad4b16a95b31eab49b0cbff2c578fc
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 26 Apr 2020 16:17:13 +0000 (26 18:17 +0200)
committerAndrew Nicols <andrew@nicols.co.uk>
Tue, 28 Apr 2020 04:32:18 +0000 (28 12:32 +0800)
tree4bc3e25d475bfe9f1e4e3765c12068aa5c436c96
parent84e737e3ddf6d23e6052931b8298354eb50c22a3
MDL-68525 behat: chrome/switches caps not allowed in Chrome > 81

Now we need to use extra_capabilities/chromeOptions/args instead

The former was deprecated long ago, it seems that Chrome 81 has
stopped accepting it. The later seems to be working at very least
since Chrome 76 (haven't gone further back).
lib/behat/classes/behat_config_util.php