Take a screenshot with Cucumber

后端 未结 6 844
伪装坚强ぢ
伪装坚强ぢ 2021-01-03 17:31

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:



        
6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-03 17:51

    In Java you can implement this step like so,

    @Then("^I take a screenshot$")
    public void i_take_a_screenshot()
    {
      // Your code goes here
    }
    

提交回复
热议问题