Skip to main content

Screenshots

Since v1.0.0

Performance

Expect some performance degradation when enabling screenshot capture.

Example HTML report with screnshots

Enable screenshot capture

To capture screenshots and include them as attachements in your reports, you will need to configure the following screenshot capture settings.

To capture standard screenshots and element highligting screenshots (high performance impact):

  gwen {
web {
capture{
screenshots {
enabled = true
highlighting = true
}
}
}
}

To capture standard screenshots only (medium to high performance impact):

  gwen {
web {
capture{
screenshots {
enabled = true
highlighting = false
}
}
}
}

To capture element highlighting screenshots only (low to medium performance impact):

  gwen {
web {
capture{
screenshots {
enabled = false
highlighting = true
}
}
}
}

To not capture any screenshots at all (no performance impact):

  gwen {
web {
capture{
screenshots {
enabled = false
highlighting = false
}
}
}
}