Constructor
new Logger()
Methods
async deleteSession(name)
Delete the session with name {name} and all the requests, responses, pages, and cookies associated.
Parameters:
Name | Type | Description |
---|---|---|
name |
string | name of the session to delete |
async newSession(name, options) → {Promise.<Session>}
Make a session
Parameters:
Name | Type | Description |
---|---|---|
name |
string | |
options |
object | |
requestBody |
boolean | If true request body and calculate size |
saveBody |
boolean | Should the response body be saved in a file ? |
filesTypes |
Array.<string> | e types that should be saved |
Promise.<Session>