I just learn how to use cucumber. Can you tell me how to complete this code?
You can implement step definitions for undefined steps with these snippets:
Then /^I take a screenshot$/ do
pending # express the regexp above with the code you wish you had
end
In Java you can implement this step like so,