0

I need a help to create my own Behat step similar to "When I press ". I'm doing this, because original press method doesn't seem to work correctly.

I want to call it "When I press submit button ..."

So, this is the start of the FeatureContext.php's chunk of code:

/**
 * @When /^I press submit button "([^"]*)"$/
 */
public function iPressSubmitButton($arg1)
{

}

The question is - what should I write inside these parentheses?

Alexej Magura
  • 4,833
  • 3
  • 26
  • 40
user1499804
  • 227
  • 2
  • 6
  • 11

0 Answers0