我将capybara与capybara-webkit和Semantic-ui结合使用,但它似乎无法显示下拉菜单,因为<select>element是隐藏的:
# feature_spec.rb
select 'option1', from: 'Options'
$ rspec feature_spec.rb
Capybara::ElementNotFound:
Unable to find select box "Options"
Run Code Online (Sandbox Code Playgroud)
您对此有可行的解决方案吗?