flood-io / element

💦Load test your app using real web browsers
https://element.flood.io
Apache License 2.0
350 stars 43 forks source link

Get step name for use in outputs #623

Open phlbnks opened 1 year ago

phlbnks commented 1 year ago

When outputting screenshots, I'd like to use the step name (or processed version of) as part of the filename. This is particularly useful when using the screenshots for visual regression tests.

The default random names don't preserve capture order when sorted by filename, and don't link them to when/why they were captured.

I'm new to element so might have missed something that already exists, but did search the docs and also try some guestimates as to how it might be accessed.