Skip to content

Commit 10d8b04

Browse files
committed
ReadmeChanges
1 parent 4949b9e commit 10d8b04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ await page.routeFromHAR('har/personalInfo.har',{update:false});
200200
```
201201
where `update:false` means to use the existing HAR from from the path given in first paraeter `har/personalInfo.har`, to see this in action you can turn off your internet and run the script, complete webpage is mocked up along with assertions on the browser of your choice this is done using the Network Replay feature and by using our recorded HAR file.
202202
We can use this feature when webpage is down for some reason and we want to test some scenarios.
203+
204+
203205
22. Logging is implemented in `CustomReporterConfig.ts` using winston logger.
204206

205207
First we have to create a logger object using winston.createLogger and then provid the configuration you need.

0 commit comments

Comments
 (0)