def select_datetime(datetime, options)
          base_dom_id = get_base_dom_id_from_label_tag(options[:from])

          # Rails 7 use HTML5 input type="datetime-local" by default. If input is not present fallback to plain select boxes alternative.
          # It's safe to use has_css? without waiting/retry. We already know field's label is visible
          if html5_input_field_present?(base_dom_id)
            fill_in options[:from], with: DateTime.parse(datetime)
          else
            extended_options = options.merge(base_dom_id:)
            select_date(datetime, extended_options)
            select_time(datetime, extended_options)
          end
        end
Select a Rails datetime. Options hash must include from: +label+