lib/watir/legacy_wait.rb in watir-6.11.0 vs lib/watir/legacy_wait.rb in watir-6.12.0

- old
+ new

@@ -81,11 +81,11 @@ # def when_present(timeout = nil) warning = '#when_present has been deprecated and is unlikely to be needed; ' warning << 'replace this with #wait_until_present if a wait is still needed' - Watir.logger.warn warning + Watir.logger.warn warning, ids: [:when_present, :deprecations] timeout ||= Watir.default_timeout message = "waiting for #{selector_string} to become present" if block_given? @@ -107,10 +107,11 @@ # @see Watir::Wait # @see Watir::Element#enabled? # def when_enabled(timeout = nil) - Watir.logger.warn '#when_enabled has been deprecated and is unlikely to be needed' + Watir.logger.warn '#when_enabled has been deprecated and is unlikely to be needed', + ids: [:when_enabled, :deprecations] timeout ||= Watir.default_timeout message = "waiting for #{selector_string} to become enabled" if block_given?