Use firefox for Selenium in CircleCI 2.0

房东的猫 提交于 2019-12-11 17:30:52

问题


In my CircleCI config.yml file I have the following:

docker:
  - image: circleci/ruby:2.5.3-browsers-legacy

In the CircleCI docs it says that by attaching -browsers-legacy to the language it will include Chrome, Firefox, Java 8 and PhantomJS

And I also tried adding to the config.yml:

- image: selenium/standalone-firefox:3.141.59

But I am still getting the error:

Unable to find Mozilla geckodriver. Please download the server from https://github.com/mozilla/geckodriver/releases and place it somewhere on your PATH. More info at https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver.
       (Selenium::WebDriver::Error::WebDriverError)

What config should I use instead?

来源:https://stackoverflow.com/questions/55213428/use-firefox-for-selenium-in-circleci-2-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!