i executing test on behat+mink+selenium. below code have added in featurecontext.php:
/** * @given /^\|i on "([^"]*)"$/ */ public function iamon($arg1) { $this->visit($arg1); }
below error getting:
feature: drupal.org search in order find modules on drupal.org drupal user need able use drupal.org search @javascript scenario: searching "behat" # features\test1.feature:7 php fatal error: call member function getsession() on null in c:\behat demo1\vendor\behat\mink-extension\src\behat\minkextension\context\rawmink context.php on line 103 fatal error: call member function getsession() on null in c:\behat demo1\vendor\behat\mink-extension\src\behat\minkextension\context\rawminkconte xt.php on line 103
please help.