code: public function beforeScenario(Scope\BeforeScenarioScope $scope)
      {
          self::collectTags($scope->getScenario()->getTags());
  
          // No need to keep working element between scenarios.
          $this->unsetWorkingElement();
          // Any page should be visited due to using jQuery and checking the cookies.
          $this->visitPath('/');
          // By "Goutte" session we need to visit any page to be able to set a cookie
          // for this session and use it for checking request status codes.
          $this->visitPath('/', 'goutte');
      }
docs: @param Scope\BeforeScenarioScope $scope
  Scope of the processing scenario.
  
  @BeforeScenario