code: def context_include(zap_helper, name, pattern):
      
      console.info('Including regex {0} in context with name: {1}'.format(pattern, name))
      with zap_error_handler():
          result = zap_helper.zap.context.include_in_context(contextname=name, regex=pattern)
  
          if result != 'OK':
              raise ZAPError('Including regex from context failed: {}'.format(result))
docs: Include a pattern in a given context.