We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff7b308 commit 84f6d80Copy full SHA for 84f6d80
lib/capybara/cuprite/node.rb
@@ -104,6 +104,8 @@ def set(value, options = {})
104
when "file"
105
files = value.respond_to?(:to_ary) ? value.to_ary.map(&:to_s) : value.to_s
106
command(:select_file, files)
107
+ when "color"
108
+ node.evaluate("this.setAttribute('value', '#{value}')")
109
else
110
command(:set, value.to_s)
111
end
0 commit comments