class Capybara::Playwright::Node::TimeInput
Public Instance Methods
set(value, **options)
click to toggle source
# File lib/capybara/playwright/node.rb, line 287 def set(value, **options) if !value.is_a?(String) && value.respond_to?(:to_time) update_value_js(@element, value.to_time.strftime('%H:%M')) else @element.fill(value.to_s, timeout: @timeout) end end