See this page if you are wanting to do this for Cucumber:
https://cucumber.io/docs/reference#report-attachments

On Wednesday, October 18, 2017 at 10:46:00 AM UTC-5, 江南 wrote:
>
> Hi,
>
> Is it possible to save a screenshot with the step instead the scenario 
> name? 
>
> @browser.screenshot.save(scenario.name ".png")
>
>
> Thanks 
>

-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to