【发布时间】:2016-04-27 13:35:04
【问题描述】:
我将 capybara 与 capybara-webkit 和 Semantic-ui 一起使用,但它表明下拉菜单不能开箱即用,因为<select> 元素被隐藏:
# feature_spec.rb
select 'option1', from: 'Options'
$ rspec feature_spec.rb
Capybara::ElementNotFound:
Unable to find select box "Options"
您对此有有效的解决方案吗?
【问题讨论】:
标签: ruby-on-rails capybara semantic-ui capybara-webkit