From 90e7823cd903adc4cb5d152a86fff17eee638ca5 Mon Sep 17 00:00:00 2001 From: MargaritaLoseva Date: Thu, 10 May 2018 16:54:30 +0300 Subject: [PATCH] logging-http-requests -- fix Mikhail's remark --- .../logging-http-requests.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/articles/documentation/test-api/intercepting-and-mocking-http-requests/logging-http-requests.md b/docs/articles/documentation/test-api/intercepting-and-mocking-http-requests/logging-http-requests.md index ef4d2cecd30..c967bf6e1de 100644 --- a/docs/articles/documentation/test-api/intercepting-and-mocking-http-requests/logging-http-requests.md +++ b/docs/articles/documentation/test-api/intercepting-and-mocking-http-requests/logging-http-requests.md @@ -6,7 +6,7 @@ checked: false --- # Logging HTTP Requests -You can use the `RequestLogger` to log HTTP requests sent during test execution. This object stores all requests sent and responses received while the test is running. You can use this information in [assertions](../assertions/README.md) to check how the tested page communicates with HTTP services. +You can use the `RequestLogger` to log HTTP requests sent during test execution. This object stores all requests sent and responses received while the test is running. * [Creating a Logger](#creating-a-logger) * [Logger Methods](#logger-methods) @@ -68,6 +68,8 @@ Method | Return Type | Description The `predicate` functions take a single parameter - the `Request` object. +If you use the `contains(predicate)` or `count(predicate)` methods in assertions, TestCafe uses the [Smart Assertion Query Mechanism](../../assertions/README.md#smart-assertion-query-mechanism). + ## Logger Properties Property | Type | Description