mozilla / geckodriver

WebDriver for Firefox
https://firefox-source-docs.mozilla.org/testing/geckodriver/
Mozilla Public License 2.0
7.03k stars 1.51k forks source link

geckodriver: error: Found argument '--websocket-port' which wasn't expected, or isn't valid in this context #2047

Closed sumitsg004 closed 1 year ago

sumitsg004 commented 1 year ago

System

Hi Team,

Getting this error when running selenium using firefox. Versions and environment details are mentioned above.

Error - geckodriver: error: Found argument '--websocket-port' which wasn't expected, or isn't valid in this context Error injecting constructor, org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

Any help is really appreciated.

whimboo commented 1 year ago

You are using a totally outdated version of Firefox. Please update to the latest release which is at 105 and this should not be a problem.