mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Fixed multiple select value for celerity driver
This commit is contained in:
parent
02daf7a32f
commit
ee041e575d
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ class Capybara::Driver::Celerity < Capybara::Driver::Base
|
|||
def [](name)
|
||||
value = if name.to_sym == :class
|
||||
node.class_name
|
||||
elsif node.type == 'select-multiple'
|
||||
return node.selected_options
|
||||
else
|
||||
node.send(name.to_sym)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue