When writeGebReport() tries to generate a Screenshot, Firefox refuses to take one and Selenium throws a WebDriver Exception. Also, when it tries to save the source, it fails with a NoSuchElementException.
Workaround override writeGebReport in a class extending GebReportingTest like this:
try {
super.writeGebReport()
} catch (WebDriverException e) {
log.warn('Could not take screenshot (maybe not on an HTML page?)', e)
} catch (NoSuchElementException e) {
log.warn('Could not save HTML (maybe not on an HTML page?)', e)
}
(only tested with GebReportingTest, but will probably affect the others)
The text was updated successfully, but these errors were encountered:
Originally created by Christoph Neuroth.
When writeGebReport() tries to generate a Screenshot, Firefox refuses to take one and Selenium throws a WebDriver Exception. Also, when it tries to save the source, it fails with a NoSuchElementException.
Workaround override writeGebReport in a class extending GebReportingTest like this:
(only tested with GebReportingTest, but will probably affect the others)
The text was updated successfully, but these errors were encountered: