class Capybara::Playwright::Node::DateInput
Public Instance Methods
set(value, **options)
click to toggle source
# File lib/capybara/playwright/node.rb, line 275 def set(value, **options) if !value.is_a?(String) && value.respond_to?(:to_date) update_value_js(@element, value.to_date.iso8601) else @element.fill(value.to_s, timeout: @timeout) end end