getSession()->getPage()->find("css", $arg1); # if (!$findName) { # throw new Exception($arg1 . " could not be found"); # } else { # $findName->click(); # } } /** * @Then /^I wait for the suggestion box to appears$/ */ public function iWaitForTheSuggestionBoxToAppears() { $this->getSession()->wait(5000); } // // Place your definition and hook methods here: // // /** // * @Given /^I have done something with "([^"]*)"$/ // */ // public function iHaveDoneSomethingWith($argument) // { // doSomethingWith($argument); // } // }