Mozilla recently removed the ability to pass the capability --remote-debugging-port in Firefox GeckoDriver version 0.31.0.
We need to update our tests to follow this change.
See https://saucelabs.com/resources/blog/update-firefox-tests-before-oct-4-2022