Skip to content

Adds a trait to assist with capturing screenshots.

This can help a lot with debugging JS tests.

In the future it would be nice to automate this on failure, but in my preliminary testing, doing so via the after failure hook is too late since the web driver has been torn down at that point.

Merge request reports