• Romain Courteaud's avatar
    [Zelenium] Store the test HTML as a dataURL in case of error · 89115b88
    Romain Courteaud authored
    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
    89115b88
selenium-testrunner.js 45.9 KB