LoadError: cannot load such file — selenium/webdriver/phantomjs

后端 未结 2 1244
無奈伤痛
無奈伤痛 2021-01-13 16:49

I have this code in my Cucumber Hooks file to run the ghost driver it was working until yesterday I start seeing the error message:

Before do
  Selenium::Web         


        
2条回答
  •  太阳男子
    2021-01-13 17:00

    Yes, we've removed support for PhantomJS as of Selenium 3.8. The PhantomJS project is no longer being maintained. If you actually do need headless, please investigate either the Chrome or Firefox headless options.

提交回复
热议问题