Failed to connect to binary FirefoxBinary with Selenium in Maven

前端 未结 11 2665
终归单人心
终归单人心 2020-12-05 02:32

I am running some Selenium-Tests. When I start them directly from Eclipse everything works fine. But when I Start them through Maven there the following Exception occurs:

11条回答
  •  误落风尘
    2020-12-05 02:51

    If you've updated both Firefox and Selenium to the latest versions in trying to fix this issue, and you are still facing the problem, you may have updated Firefox using "Restart to update".

    Shutdown Firefox and ensure that the Firefox executable is no longer running. Then try your test. It should work now.

    I'm guessing this is related to when exactly the Firefox binary is updated when you use "Restart to Update"

提交回复
热议问题