Skip to content

Commit

Permalink
logging-http-requests -- fix Mikhail's remark
Browse files Browse the repository at this point in the history
  • Loading branch information
MargaritaLoseva authored May 10, 2018
1 parent dc8d8b2 commit 90e7823
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 90e7823

Please sign in to comment.