lib/ProMotion/web/web_screen_module.rb in ProMotion-2.4.0 vs lib/ProMotion/web/web_screen_module.rb in ProMotion-2.4.1
- old
+ new
@@ -74,10 +74,10 @@
end
content
end
def check_content_data
- PM.logger.error "Missing #content method in WebScreen #{self.class.to_s}." unless self.respond_to?(:content)
+ mp("Missing #content method in WebScreen #{self.class.to_s}.", force_color: :red) unless self.respond_to?(:content)
end
def html
evaluate("document.documentElement.outerHTML")
end