From ab88f39b9306a1515f35baf486c424975fb6b35a Mon Sep 17 00:00:00 2001 From: Levi Buzolic Date: Fri, 10 Sep 2021 17:49:18 +1000 Subject: [PATCH] Enable multi-line log messages --- lib/capybara/chromedriver/logger/message.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capybara/chromedriver/logger/message.rb b/lib/capybara/chromedriver/logger/message.rb index 64140f7..3613b05 100644 --- a/lib/capybara/chromedriver/logger/message.rb +++ b/lib/capybara/chromedriver/logger/message.rb @@ -66,7 +66,7 @@ def file_and_location end def extract_file_and_location! - match = message.match(/^(.+)\s+?(\d+:\d+)\s+?(.+)$/) + match = message.match(/^(.+)\s+?(\d+:\d+)\s+?(.+)$/m) return unless match