Closed TechWatching closed 2 years ago
When using Microsoft Playwright it is possible to configure it to take a screenshot when it fails. I don't see how it can be configured here. Could this be added to the json configuration file?
You can do this on your own in a AfterScenario Hook and check the ScenarioExecutionStatus on the ScenarioContext.
ScenarioExecutionStatus
ScenarioContext
When using Microsoft Playwright it is possible to configure it to take a screenshot when it fails. I don't see how it can be configured here. Could this be added to the json configuration file?