Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经通过 Watir 完成了 IE 浏览器启动,我想知道如何使用 capybara 和黄瓜框架启动 IE 浏览器。如果您向我提供如何使用 env.rb 文件启动,那就太好了。
你有没有尝试过这样的事情:
Capybara.register_driver :selenium do |app| Capybara::Selenium::Driver.new(app, :browser => :internet_explorer) end
?
而且您需要 ie 驱动程序在您的路径中。
https://code.google.com/p/selenium/downloads/list