Log page DOM on failure.