开发者

Cucumber and Capybara require different Selenium-Webdriver gem versions - trying to set up test environment

I am relatively new to BDD and have been struggling to get my test environme开发者_高级运维nt set up and stable, and a lot of googling has still failed to surface how to solve this problem.

Capybara v 1.0.0 requires selenium-webdriver (~> 2.0)

Cucumber however throws an error message when I have gem selenium-webdriver v.2.3.0 installed and demands "Could not find selenium-webdriver (~> 0.2.0)"

Is there a simple way to fix these dependencies and make selenium capybara and cucumber all play nice together?

Using cucumber (1.0.2) Using cucumber-rails (0.4.1)


Your cucumber-rails gem is out of date. Your version is 0.4.1 when the latest is 1.0.2. Run bundle update cucumber-rails to update that and try again.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜