Truly independent web browser
LibWebCommon: Only log WebDriver responses that are errors
Shannon Boothe30f742e821f
diff --git a/Libraries/LibWebCommon/WebDriver/Client.cpp b/Libraries/LibWebCommon/WebDriver/Client.cppindex a5f5f3381a3..9bb4d31ebd7 100644--- a/Libraries/LibWebCommon/WebDriver/Client.cpp+++ b/Libraries/LibWebCommon/WebDriver/Client.cpp@@ -441,6 +441,9 @@ ErrorOr<void, Client::WrappedError> Client::send_error_response(HTTP::HttpRequesvoid Client::log_response(HTTP::HttpRequest const& request, unsigned code){+ // A test harness sends a dozen commands per test and captures everything this process prints.+ if (code == 200 && !WEBDRIVER_DEBUG)+ return;outln("{} :: {:03d} :: {} {}", AK::UnixDateTime::now().to_byte_string(), code, request.method_name(), request.resource());}