Failed to connect to binary FirefoxBinary with Selenium in Maven

前端 未结 11 2637
终归单人心
终归单人心 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 03:10

    I figured out where the problem was.

    I loaded some extensions to add to the FirefoxProfile I use to instantiate the FireFoxDriver. These plugins where located under Java/main/resources. In Eclipse everything worked fine, but I couldn't access these plugins through Maven. After copying these files to a temporary folder, and load them from there it worked even from Maven.

    Thanks for your Help

提交回复
热议问题