in case of an test error dump the HTML DOM to a local file.