When I save screenshot with name "filename"

Save a screenshot using an explicit filename (tokens supported).

Step pattern

When (I |we )*save screenshot with name "([^"]*)"

Examples

Example #1
Then I save screenshot with name "homepage.png"
Example #2
Then I save screenshot with name "webship-home"
Example #3
Then I save screenshot with name "un-landing-{datetime}.png"
Example #4
Then I save screenshot with name "about-us.png"
Example #5
Then I save screenshot with name "{feature_file}_{step_line}"
Example #6
Then I save screenshot with name "{url_path}.png"
Example #7
Given I am on "/news"
Then I save screenshot with name "news-latest.png"
Example #8
Given I am on "/webship.co"
Then I save screenshot with name "webship-index.png"
Example #9
Given I am on "/un.org"
Then I save screenshot with name "un-home.png"
Example #10
Then I save screenshot with name "contact-form-before-submit.png"