nobody@docker-desktop:/CirrusSearch$ npm run selenium
> cirrussearch@0.0.0 selenium
> killall -0 chromedriver 2>/dev/null || chromedriver --url-base=/wd/hub --port=4444 & grunt webdriver:test; killall chromedriver
Starting ChromeDriver 97.0.4692.99 (d740da257583289dbebd2eb37e8668928fac5ead-refs/branch-heads/4692@{#1461}) on port 4444
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
[1649935181.441][SEVERE]: bind() failed: Address already in use (98)
IPv6 port not available. Exiting...
Running "webdriver:test" (webdriver) task
Execution of 42 spec files started at 2022-04-14T11:19:46.496Z
(node:57) [DEP0131] DeprecationWarning: The legacy HTTP parser is deprecated.
Server initialized
[0-0] RUNNING in chrome - /tests/integration/features/bad_syntax_api.feature
[0-0] 2022-04-14T11:19:52.580Z ERROR webdriver: Request failed due to invalid argument: invalid argument: unrecognized capability: chromeOptions
...Full output available at P24632.
The problem seems to be that chromeOptions was not updated to goog:chromeOptions in tests/integration/config/wdio.conf.js.
~/Documents/gerrit/mediawiki/core/extensions/CirrusSearch$ ack chromeOptions
tests/selenium/wdio.conf.js
41: 'goog:chromeOptions': {
tests/integration/config/wdio.conf.js
137: chromeOptions: {