code: def execute_before_scenario_steps(self, context):
          
          if not self.feature_error:
              self.__execute_steps_by_action(context, ACTIONS_BEFORE_SCENARIO)
  
          if context.dyn_env.scenario_error:
              # Mark this Scenario as skipped. Steps will not be executed.
              context.scenario.mark_skipped()
docs: actions before each scenario
          :param context: It’s a clever place where you and behave can store information to share around, automatically managed by behave.