[Zelenium] Store the test HTML as a dataURL in case of error
This will ease debugging from posted test results. This code should be synchronous (no Blob asDataURL method for example) and so, btoa is used. Sadly, btoa will fail with unicode character Do not report HTML error in such case, until a cleaner dataURL is implemented
Showing