Skip to content

Instantly share code, notes, and snippets.

@SarahElson
Last active June 22, 2022 07:03
Show Gist options
  • Save SarahElson/965f2ef04e4efcdbd9e9a8da28d6c90f to your computer and use it in GitHub Desktop.
Save SarahElson/965f2ef04e4efcdbd9e9a8da28d6c90f to your computer and use it in GitHub Desktop.
Speed Up Accessibility Testing With LambdaTest And Evinced
@AfterMethod
public void tearDown() {
// Stop the Evinced engine and generate the report object
Report report = driver.evStop();
// Export the report - JSON
EvincedReporter.writeEvResultsToFile("Evinced-LambdaTest-A11y-JSONReport", report, EvincedReporter.FileFormat.JSON);
// Export the report - HTML
EvincedReporter.writeEvResultsToFile("Evinced-LambdaTest-A11y-HTMLReport", report, EvincedReporter.FileFormat.HTML);
driver.quit();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment