System Tests: generate current page html on failure

Currently, system tests automatically generate a screenshot on failure. What I would like, is to also be able to view the current HTML source at the time of failure. Is there a method or option available to generate the current page source?

1 Like